clearing an iPhone 5
Welcome to iMore! If you plan to sell, give away or trade the 5, first turn off Find My iPhone and toggle off iMessage. Then go to Settings > General > Reset > Erase All Content and Settings. Tap on that. That will clear your phone.