To reset an Android phone, follow these steps:
Back up any important data or files on your phone that you want to keep, as the reset will erase all data and restore the phone to its factory settings.
Open the Settings app on your Android phone.
Scroll down and select "System."
Select "Reset options."
Choose "Erase all data (factory reset)."
Select "Reset Phone" or "Reset Tablet."
If prompted, enter your PIN, password, or pattern to confirm the reset.
Your phone will now erase all data and restore to its factory settings. This may take a few minutes.
Once the reset is complete, your phone will restart, and you'll be prompted to set it up again like a new phone.
It's important to note that the exact steps may vary slightly depending on the version of Android and the device you are using. However, the general process should be similar for most Android phones.
if you have any question you can leave comment.