Sex with another man

Me and my boyfriend of almost 2 years broke up not even for 24 hours. He’s still In my house but we slept in separate rooms and I packed all his stuff for him. We have been falling apart bad. He been disrespecting me & treating me like shit lately . Plus we haven’t been having sex, so last a guy I use to have sex with in the past wanted to see me. We sat and talked then we in the back of my car having sex w/o protection. It felt so good like it was needed but he nutted in me🤦🏾‍♀️... I’m really scared cause 3 days away from ovulating. I feel like karma is gonna get me, I regret it and don’t know what to do because me and my ex is stil in the same house we just haven’t talked . Idk what to do