How to reset your iOS device
Open Settings
Tap General
Tap Reset
Tap Erase All Content and Settings
Tap Erase Now
You may not get this prompt.
Enter Passcode
Tap Erase
Tap Erase again
Enter Apple ID Password
Device will now reset