uncomfortable sex

I was having sex tonight with my boyfriend and it has a burning sensation during sex and after it felt like my vagina was swollen. Any ideas on why this could be?