From the Home screen, swipe up to view your apps.
Tap the Settings icon.
Scroll to General management.
Tap General management.
Tap Reset.
Tap Factory data reset.
Before you proceed, make sure to back up all photos, videos, and data you'd like to keep. When you factory reset your device, all your files will be deleted.
Scroll to Reset.
Tap Reset.
Tap Delete all.
You've completed the steps!
