What should I do with my dog


I have a baby on the way. 29 weeks pregnant. And I recently got my dog spayed she always be loving and friendly never attacked anyone she doesn’t even rough play with me. But ever since she got spayed she been really aggressive. She went into the bathroom and started taking paper from the trash I went to her and ask her to drop it this went on for a few mins and she wouldnt do it so I try to get the dirty paper out her mouth and she just bit me

Now this worries me cause I don’t wanna have my baby around a dog who can possibly attack him and it hurts me cause I love her and to see her become like this makes me think of maybe having to give her up. What should I do