Scared!

So me and my boyfriend were having sex and the condom ripped. He was outside of me, and he didn’t cum. My period was late for three days and it honestly scared the hell out of me. Right now I’m on my period but I am cramping extremely bad. Like on the form of tears. My period cramps are never this bad like it is now. Could it have been a chance that I was pregnant and I am having a miscarriage, or am I just over thinking? Please just give me some info or something because I am honestly scared!