To reset your smartphone to factory settings and erase all the data on your smartphone, tap Apps ➔ Settings ➔ Privacy ➔ Factory Data Reset ➔ Reset Phone.