Belly issues after sex

So Monday I had sex with my boyfriend, I know he hit my cervix as he is big and I have a retroverted uterus. I’m on the pill and he didn’t cum in me, but since then I’ve been like, I guess, super constipated. Like my stomach hurts like I have the flu. My period starts next week also.