Pain after sex :(

My boyfriend and I had sex yesterday and when he finished and pulled out, it felt as if I was burning. When I got home to pee, it also burned. I swear my vag was swollen too. A few minutes later and it’s gone like it never happened Any advise or ideas?