If you want to change the iCloud account associated with your device without losing data, there are a few things you need to keep in mind. First, if you’re signed in to iCloud on your device with one account and you want to switch to a different account, you need to sign out of the first account before you can sign in with the second account. Second, any data that’s associated with the first account will no longer be accessible once you switch to the second account. This includes data like iCloud Drive files, contacts, calendars, photos, and more. Finally, you need to make sure you have a backup of your device before you switch to the new account, otherwise you risk losing data.