Helppppo

So me and my bf had sex Thursday and he used a condom but it didnt break or he didn't cum but I'm scared

I been gettin belly cramps and I'm scared but they hurt a lot at times

What should I do should I worry

And I should I take a test in case