Possibility of pregnancy?

Had sex before and after ovulation, but now when ever I orgasm I start cramping. I’m wondering if this is my period coming or could it still be a pregnancy.