Question: what to do before you give your iphone away?
Answer: If you've paired an Apple Watch with your iPhone, unpair your Apple Watch. Back up your device. Sign out of iCloud and the iTunes & App Store. ...  Go back to Settings and tap General > Reset > Erase All Content and Settings.