Back up any important data if possible
Open Settings
Tap System or General management
Tap Reset or Reset options
Tap Factory data reset
Review the information shown
Tap Reset tablet or Erase all data
Enter your PIN, password, or pattern if prompted
Confirm the reset
Wait for the tablet to restart and erase data
Set up the tablet again after the reset completes
