It’s very simple to reset your android phone by going through setting.
The location factory reset can be different in a different version of Android. but the process is similar as after you the option all you need to is select whether you want to reset your phone with all your data or you just want to reset the factory setting of the particular phone you are using.
Following are the steps which will lead you to reset your phone:
- At first tap on setting
- Scroll a bit and you will the phone setting option
- Tap it and then tap Back up & reset
- Select an option to reset everything or to erase everything
'hope it was helpful'