If your screen is not functioning properly, such as not registering inputs or showing incorrect inputs, restoring the iPhone may get it working again. You should not lose any data using this method.

If you are not signed in, tap Sign in to your iPhone, enter your Apple ID and password, then tap Sign In. If you are running an older version of iOS, you may not need to do this step.

Slide iCloud Backup to the “On” (green) position, if it’s not already.

You must be connected to a Wi-Fi network to back up your iPhone.

If you are running an older version of iOS, you may not need to do this step.

If prompted, enter your “Restrictions” passcode.

Your phone will show “Swipe to set up” after it’s done deleting your content, as it did when it was first purchased.

During setup, you will be asked if you want to restore your phone from an iCloud backup. If you want to add all your media, data, and apps back onto your phone, agree to restore from the backup.