Help 😫

This might get deep but so my period came on July 4-10 and I had sex with this dude July 17th he didn’t have a condom on at first but when he was about to finish he put one on and finish in me but he had the condom on it didn’t break or anything but I wanted to be safe so I went and bought a plan b right. I took it later that night cause my friend came back and we did it again without protection but he pulled out. So I took the plan b, so I should be fine because he didn’t finish in me and I check if there was any cum in me and there wasn’t. yesterday and Thursday it happen again lol Thursday he used protection but yesterday he didn’t. When he finish he pulled out and finish and then he wiped it off and went back in for more .... I been cramping and been feeling bloated so .... is that just my period about to come on ??