Pregnancy scare

I had sex on 29th of July which was the second day of my ovulation week. The guy I hooked up with took the condom off without me knowing. (He didn’t finish inside me but ofc there was precum)

I was cramping a lot so I took a test 8 days after I had sex and 4 days before my period. Both were negative.

I am 3 days late now and I get cramps sometimes, my boobs hurt aswell.

Is it okay to test now? I don’t want to get pregnant.