Swollen sore vagina after sex

So me and my husband had sex and it was burning the whole time, after we were done I was so swollen and red and in pain. Anyone know what the cause of it is? And yes we used lube but it's the same kind of lube we have been using for years.