To sign out of iCloud on your device, go to the Settings application and go into your Apple ID settings. This will be at the very top of Settings. In here, you will see “iCloud”. Clicking on this item will bring you to your iCloud settings.
From here, scroll down and make sure that “Find My iPhone” is turned off. Once this is completed, hit the back button to Apple ID and find the red “Sign Out” button at the bottom of the screen.
You’ll be prompted for your Apple ID password to confirm— after that, you’re done!