Welcome to Healthcare Magic
According to the history you gave, it appear to be an infected Bartholin's cyst
. It is due to fluid collection in a cyst which gets infected. It has chance on appearing again and again. To reduce pain and swelling, you may take T.Diclofenac
SR 75mg after a meal, not more than 2 tablets a day. In order to prevent this from happening again, you need to consult your Gynaecologist who may require to do a minor procedure to cure it. Keep the labial area clean always, take bath regularly. Avoid eating junk food. Drink lots of water. You will be fine, after you shoe to the Gynaecologist.