Cramping

So I just ended ovulating and I had sex on the 17th and it was unprotected for like 10 sec I'm so scared I could be pregnant I don't want to be is there a reason why I have cramps 2 days after ovulating