Back up your data
Charge your phone
Open Settings
Tap System or General management
Tap Reset or Transfer or Reset iPhone
Tap Factory data reset or Erase All Content and Settings
Confirm your choice
Enter your PIN, password, or Apple ID if prompted
Wait for the reset to finish
Set up your phone again
