My vagina can swell from sex?

So me and my bf had some REALLY rough sex the other night and it became to the point where my lips were swollen and I felt like a flower blooming, lol. What can I do to prevent this or make sure it doesn't happen again?