1. Find "Factory data reset"
Press Settings.

Press Additional Settings.

Press Back up and reset.

Press Factory data reset.

2. Restore factory default settings
Press Erase All Content & Settings.

Press Erase Data.

Press Erase Data. Wait a moment while the factory default settings are restored. Follow the instructions on the screen to set up your phone and prepare it for use.
