Sign out on your iPhone, iPad, or iPod touch
1. Go to Settings

2. Click the top where it shows your name, then scroll to the bottom and tap “Sign Out”

3. Enter your Apple ID password and tap “Turn Off”

4. Follow the on-screen instructions to remove your data, and tap “Sign Out”

5. Tap “Sign Out” again to confirm that you want to sign out of iCloud