Sex that hurts

Courtney
When my husband an I are having sex doggy style it feels good, but then leads to a build up of tension and sharp cramps in my side. What could cause this?