Lump in cervix and groin

So for a few weeks now I've had ashes lump in my groin and had symptoms of the thrush, I took a tablet but the symptoms still haven't gone and neither has the lump. Now I've just found out that I have an even larger lump at the top of my cervix which I can feel. I'm worried if this is a side effect from an STD or even worse cancer which does run in my family.