Thanks for the query.
According to your description there is possibility of bartholin cyst
will be situated near the vaginal opening. Its function is lubricating the vagina.
Sometimes when the duct of gland gets blocked it can from a cyst and when it get infected abscess
So you better consult your gynecologist once and check for this possibility and follow her advice.