I don’t know what to do....

Mr

I’m 17 weeks and 3 days pregnant. I have a 3.5 year old daughter. Things are getting worse with my daughter as my pregnancy progresses. And I don’t know what to do anymore. She has become a complete brat, towards me! My husband doesn’t see this side of her very often but when she’s alone with me she is a completely different child. She shrieks at me, hits things, throws stuff. All because I told her no. We are having issues with her sleeping in her bed. She sleeps with us, and we are working on getting her back to her room before baby comes in June. I’m not sleeping because of this and I’m sure that’s not helping much. It’s not all the time, she can be very Lovin and sweet but she’s becoming more and more mean. I’m just tired of this and don’t know what to do to help her, to get back my sweet loving daughter.