Stomach pain

I’ve just been trying to figure this out, and it’s only happened the last 2-3 times but during and after i have sex i have immense stomach pain and sometimes pain in my bottom without it even being touched... anyone know why???