If you want to use your iPhone as a new device or if you are selling it to someone, you may want to clear the phone's memory. Clearing the memory erases all programs, media files and personal data on the device and restores the operating system to its factory settings. After you clear the iPhone, you can restore its data from a backup file on iTunes or set it up as a new iPhone.
Charge your iPhone fully or connect it to its charger before proceeding. Tap "Settings" on your iPhone's main screen and select "General."
Scroll down to the bottom of the page and tap "Reset."
Tap "Erase All Content and Settings" and tap "Erase iPhone" to confirm that you want to clear your iPhone's memory. Your iPhone restarts after the process completes.
- Right-click your iPhone in iTunes and select "Back Up" if you want to back up your data.