If you have an old iPad, iPhone, or iPod touch that you want to sell or give away, you don’t want to leave any of your apps, data, or personal information on the device. Luckily, Apple makes it easy to reset to factory defaults. Go to Settings > General > Reset (all the way at the bottom) and then tap Erase All Content and Settings. Enter your passcode, confirm the erasure (twice!), and then type your Apple ID password. After all that, the device restarts just as though you’re taking it out of the box for the first time.