Charge your phone or have it connected to a wall socket
The reset of your phone could end up taking far longer than you would estimate, and the best way to ensure no problems occur during the process is to either charge the phone completely before hand, or to have it plugged into a wall socket.
Plugging it into a wall socket is a better option as opposed to just charging it, since you don’t know when your phone might die out on you.
Image Courtesy: chipiz.com
You then need to scroll down in the menu once you open the settings and locate the option to click on ‘general’
Once you find the reset option, click it and then go on and select the option which states ‘Erase all content and Settings’
Once you do this, all the data on your phone will be deleted and it will be returned to the same settings that it had when you bought it initially.
Image Courtesy: question-defense.com