Hopefully you already have your Apple Account settings configured to automatically back up the phone to iCloud, which is invaluable when you upgrade to a new iPhone and just for everyday peace of ...
Once done, restore your iPhone from your iCloud or computer backup. However, if the problem continues after restoring, there may be a hardware-related issue with your iPhone. In that case ...