If you want to return your phone or tablet in its original state, you need to go to the Factory Reset option located at phones privacy menu.
When Factory Reset option is launch
All your photos, music and others will not be remove from your memory card while programs and their data will be uninstalled.
How to perform a factory reset:
Go to Settings Menu and Privacy options as shown below - on some devices, the configuration to factory reset is located under Phone storage.
Note: To recover those apps that you purchased, you'll need to sign into your device with the same Google Account.
That’s it! Thanks for reading the article!