Open Settings
Tap System
Tap Reset options
Tap Erase all data or Factory data reset
Review the warning
Tap Reset phone or Erase all data
Enter your PIN, password, or pattern if prompted
Confirm the reset
Wait for the device to erase and restart
Set up the phone again after it restarts
