Use Recovery Mode and restore the iPhone with a computer
Use Finder on Mac or iTunes on Windows to erase and restore the device
Use iCloud Find My iPhone to erase the device remotely if enabled
Use the Apple Support app or Apple website to start account recovery if needed
Visit an Apple Store or authorized service provider with proof of purchase
If the device is supervised by an organization, contact the organization’s IT administrator
