From the Home screen, tap Settings.
Scroll to General.
Tap General.
Scroll to Transfer or Reset.
Tap Transfer or Reset iPhone.
Tap Erase All Content and Settings.
Tap Reset all Settings.
Tap Resest All Settings again.
Tap Reset All Settings again.
Before you proceed, make sure to back up all photos, videos, and data you'd like to keep. When you factory reset iPhone, all your files will be deleted. If necessary, enter your passcode.
You've completed the steps!
