Open the Settings app on your phone.
Scroll down and tap on “General management.”
Tap on “Reset” or “Reset options.”
Tap on “Factory data reset.”
Follow the on-screen instructions to confirm and proceed with the reset. The phone will restart and begin the reset process.
''A factory reset will erase all data on your phone, so make sure to back up any important information before proceeding.''