Before you sell or give away your device, you should remove your personal information. You shouldn't manually delete your contacts, calendars, reminders, documents, photos, or any other iCloud information while you're signed in to iCloud with your Apple ID.