Painful sex

Emma
Last night I had sex with my boyfriend, and after maybe an hour we tried to have sex for the second time, but the inside of my vagina stung so badly that I couldn't deal with the pain! It didn't happen the first time though. I know that neither my boyfriend nor I have an STD.  oes anyone have any idea what the stinging could have been about?