Connect your iPhone to your computer with a USB cable. Open iTunes, Finder, or Apple Devices, depending on your computer.
Want to factory reset your iPhone but can’t remember your Apple ID password? Maybe you bought a second-hand iPhone, forgot ...