Stomach pain whilst having sex

Megan
So occasionally whilst me and my boyfriend are having sex I get this really painful cramp type sensation in my stomach, often so bad that I need to tell him to stop and change position. It only occurs doing certain position mainly doggy style. Is it something serious or just that he is going too deep and hitting my cervix or something?