Swelling ??

This is the second time this has happened and idk why . I have sex with my boyfriend and not too much later the lips of my vagina are very swollen to the point where I can’t walk right . Is it him rubbing me too hard etc or is it something else?