A hard reset of an iPhone starts through Settings followed by General, followed by Transfer or Reset iPhone, followed by Erase All Content and Settings. Verify the action, then provide your passcode when requested for the system to restore to factory defaults while deleting everything stored on the phone.