Pain after sex?

So I recently had sex with my boyfriend and right after my vagina became sensitive and began to have a stinging burning pain to it. The last time this happened I took a quick bath because I couldn’t even get over how much it stung and it soothed it pretty well, do you guys know why this is happening after sex?