Sex pain

Okay so recently when me and my boyfriend have sex , i been having a sharp pain in my stomach, especially when were doing doggy style. I dont know if this is him hitting my cervix. ( I've had my cervix bruised before so this worries me) . If this is him hitting my cervix , can iI ignore this pain or should i have him stop cause it could lead to other problems? Im not sure. Someone please let me know .