Baby mama drama

Adriana
So my boyfriend has a daughter with someone else and they just went to court today. For custody. Baby mama through a fit because she doesn't want me around her daughter, so now I'm not to be alone with my boyfriends daughter. He won't let me take her out or pick her up from school. What should I do? Do you guys think this is right?? I'm not a criminal and I would NEVER hurt that little girl or anyone else. Right now I feel like I did something wrong for him to do that to me. I need some help.