If you own the tablet, use the manufacturer’s official recovery method
Power off the tablet completely
Boot into Recovery Mode using the correct button combination for...
Back up any important data first
Make sure the tablet has enough battery or keep it plugged in
Open Settings
Tap System or General management
Tap Reset options
Tap...
Back up any important data
Charge the tablet or plug it into power
Open Settings
Tap System or General Management
Tap Reset or Reset options
Select Factory data reset...