Pain during intercourse

I was recently in intercourse but unlike before it started hurting to the point where I had to tell him to stop. The pain was like a burning but didn't occur until the second round after he came in me; also that night i started my period - could that be the reason why it hurt?