What’s happening?

I had sex yesterday and we used protection but my stomach hurts. Is it just anxiety?