If your iPhone screen goes off while you’re using it, there are a few things you can do to keep music playing. First, make sure that your phone is turned off completely. Second, try turning the music off on your device’s settings. Finally, if none of those work, try resetting your phone and/or restoring it from a backup.