We all sleep in different ways. Some of us require absolute silence, while others — myself included — enjoy listening to a song or two to help lull us to sleep. However, the problem lies when we fall asleep before our music stops, then a loud song jolts us awake for hours. If you have an iPhone, however, you can avoid this issue entirely using iOS' built-in sleep timer.
Haven't heard of this feature before? Join the club. Apple doesn't make this trick very obvious, even though it's super helpful. Not only does it work with Apple Music and the native Music app, but any media that happens to be playing on your iPhone. That means Spotify, Pandora, YouTube, YouTube Music, podcasts — if you can play it, your iPhone can stop it with the sleep timer.
On your iPad, iPhone, or iPod touch, open up the Clock app, and select the Timer. Set it to however long it typically takes you to fall asleep, then select "When Timer Ends." Instead of selecting a tone, scroll all the way to the bottom and choose "Stop Playing," then tap "Set." Then, fire up the timer after you start playing your music, video, or podcast, and enjoy a peaceful, quiet sleep.
Just remember that when you are not using the timer function to stop music, make sure to change the "When Timer Ends" option to an actual alert. If you don't remember to change this, your timer will go off ... by not going off. That means the pizza is definitely going to get burnt.