Sometimes you need to do a factory reset to return your phone to its original settings or fix problems.
A factory reset deletes everything on your phone, so make sure to back up your device before you start.
Accessing the factory reset option on Android phones is similar across devices but may vary by manufacturer. Specific instructions for your device might be needed.
Factory resets on iOS devices are the same for all models. You can factory reset your device from settings, or reset it from iTunes. Both options will delete all your personal data, but using iTunes can be better for troubleshooting.