How to Erase Your Old iPhone Before Trading It In

To sign out of iCloud and the iTunes and App Stores, launch theapp on your iPhone, tap on your name to open your account settings, tapat the bottom, then enter your Apple ID password and tapNow that you've backed up your iPhone and manually deactivated services and accounts, it's time to perform a factory reset of the device.