Allergic to latex?

Last time me and my boyfriend were having sex it started to smell like burning rubber and my vagina hurt like hell for a few hours. Like I couldn't bend it hurt so bad, but it went away. But I was also bent over his bed and doggy always tends to leave me in pain??