The best option to solve this problem is tofactory reset
Because a master reset or factory reset wipes your iPhone's media files, data, and settings, making a backup of your device's contents is highly recommended. Standard techniques for doing a factory reset on the iPhone 7 smartphone are outlined below:
- To get started, go to the Home screen and select Settings.
- From the Settings menu, scroll down to General and hit it.
- After that, scroll all the way down to the bottom of the screen and tap Reset.
- Erase All Content and Settings is the option to choose.
- To continue, tap Erase iPhone.
- Tap Erase iPhone one more to confirm the process.
- Enter your Apple ID password if required, then press Erase.
- Wait for your iPhone to finish the reset process, and then your device should be as good as new.
- Read more