cramping and pain

I get really bad cramps when I orgasm. In addition, it hurts to have penetrative sex a lot of times. Does anyone know why this may happen?