how to separate two icloud accounts on a shared account
My sister and I share one Apple account, and yesterday we got the iPhone 8. She told me before we went to change our phones that she merged our iClouds and now I have her data and she has mine. We've always shared an Apple account and while for example our music, when downloaded, would be added to one phone, the other phone would get it. But now everything either of us do, the other phone is doing the exact same; She deletes my contacts on her own phone, it gets deleted on mine, I get a message that's supposed to be for me, and she gets that message also. Idk what she did and neither does she, so how do we separate our iClouds without erasing pictures, etc, and have it go back to the way it was?
iPhone 8, iOS 12