Select the Settings app. Tap your name or the previous owner’s name at the top of the window. To Sign Out, scroll down to the bottom of the screen and tap Sign Out. You’ll need to enter the previous owner’s Apple ID password next.

Head to iforgot.apple.com and sign in using your Apple ID email address. Follow the instructions to unlock your account if you haven’t already done so. If you’re having difficulties, call Apple customer care at 800-APL-CARE or talk with an Apple expert.

Go to your Apple ID account page and enter your Apple ID and password. Select “Can’t access your trusted devices?” from the Verify Your Identity screen. Enter your Recovery Key in the pop-up window.

How to Reset an iPhone Without Using Apple ID. Open the Settings application on your iPhone. Select the “Reset” option from the drop-down menu next to “Erase All Content and Settings? Reenter your password if prompted, then choose “Erase iPhone” from the drop-down.

If you’ve forgotten your password, visit the Apple ID account page and choose Forgotten Apple ID or Password. Select “Reset My Password” to erase it. Choose “Continue after selecting the option to reset your password. enter your two-step verification Recovery Key.