sharp stabbing pain while having deep penetration sex?

the last two times I've had sex with my boyfriend I've felt an unbearable stabbing pain in my lower abdomen every time he tried to thrust deeper...could this have anything to do with being on my period? has anyone else experienced this and could give me some insight?