I think you mean lump on the labia (that is lips covering vaginal opening) because you cannot see a lump in the vagina yourself, you can only feel it. But lump on the lip ie labia is vsible outside .
If your doctor has said that is in abscess
, it requires incision and drainage
followed by antibiotics. Antibiotics alone wont help.
What i get is you have a bartholin's abscess which common and requires drainage and marsupialization followed by antibiotics.
So visit a gynecologist and get it treated.
Management of bartholins or history of bartholins abscess in past wont affect your chances of getting pregnant. But its better to treat your infection before getting pregnant, as appropriate health is a must before pregnancy
. If you have it during pregnancy, it can cause unecessary fever
and illhealth and if near you delivery time, it would affect your delivery.