Thanks for the query.
According to your description there is possibility of bartholin cyst
Bartholin cyst presents near the opening of vagina.
Its function is lubricating the vagina during intercourse with its secretions.
When the duct of the gland gets blocked it forms cyst. When the cyst gets infected abscess
Abscess will be filled with blood and pus and gives pain.
When you squeeze it some amount of blood and pus will come out relieving some pressure.
Now you once consult gynecologist and undergo physical examination. After observing the condition of the lump she will give you treatment options.
Hope I have answered your query. I will be available to answer your follow up queries. If you are satisfied with all my answer, please rate the answer after closing the discussion.