Go to settings

Click Storage & reset

Click Factory data reset

Enter 0000 and press enter button

Click Factory data reset

Wait for it to complete and you are done.
Go to settings
Click Storage & reset
Click Factory data reset
Enter 0000 and press enter button
Click Factory data reset
Wait for it to complete and you are done.