Back up your important data
Charge your phone to at least 50%
Open Settings
Tap System management or Additional settings
Tap Backup and reset
Tap Erase all data or Factory reset
Enter your lock screen password or PIN if prompted
Confirm the reset
Wait for the phone to restart and complete the formatting process
