If you鈥檙e considering selling your iPhone, you probably know to delete all your info off of it. But you鈥檙e probably doing it wrong. There are tons of secret places on your phone where data hides, and if you resell it without checking everything, you鈥檙e opening yourself up to some serious security issues. But have no fear: Here鈥檚 your definitive guide to making sure absolutely聽everything聽is wiped off your phone.

Step one is to back up your phone. You never know when you鈥檙e going to need what鈥檚 on there already. You can do this in iTunes when you plug your phone into your computer. Once your phone is plugged in, open iPhoto. Then click 鈥渄elete photos from your iPhone鈥 and everything will easily wipe off.

reset-phone

Now, back on your phone, go into Settings and turn off iMessage and FaceTime. Disable iCloud and then completely log out your Apple ID. When you鈥檝e done all this, it鈥檚 time to restore factory settings. In Settings, go to General, then Reset, then click 鈥淓rase All Content and Settings鈥 and your phone will clear itself out.

Lastly, unregister the phone and call your network to make sure your number is no longer associated with it. 聽You can also delete everything from your phone from your computer via Find My iPhone. Now you鈥檙e all set to sell your phone and make off with some cash for your next upgrade. You鈥檙e welcome.

(h/t Popsugar;聽Photo via Getty)