Advice

I have a latex allergic so we use non-latex condoms and I have never had a problem. My last period everytime we had intercourse i had sharp pain and couldn't figure out why. It stopped when my period stopped but it started doing it again like two days later. Any ideas what could be the problem?