How can I change which iCloud my phone is signed in to?

how can i change which icloud my phone is signed in to

My husband and I used to share an icloud but when he got his new phone, I made a new one for myself. My phone will not let me change it to mine. Somehow it went back to my old shared cloud
Have you gone to Settings > iCloud > scroll to the bottom > Sign Out ?

Original thread: https://forums.imore.com/threads/how-can-i-change-which-icloud-my-phone-is-signed-in-to.360359/