Back up your data
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 restart and erase data
Set up the phone again after the reset
