Massive swelling?

After rough sex, my labia always swell massively, like really big and painfully, is there any way I can prevent this? And anyone know why it’s happening? It’s literally taken 12 hours for them to go down but they still hurt