First, turn off the phone, press the volume button when turning it on, and then press the power button to enter the phone.
After entering re, select Erase Data/Restore Factory Settings as the volume button, erase data/restore factory settings, and confirm the power button.
Select Yes-delete all data as the volume button, confirm the power button, and the phone will automatically process it.
Finally, select Restart System Now to restart and restore the factory settings.