Lump in my thigh / leg

So today I was bending over to pick up my shoes and ended up putting my hand on my thigh only to feel a sharp pain and then I realised that it felt almost as if a lump or some kind of circle was under my skin, above my knee in the leg and feels like a tiny golf ball and hurts when I press down. I’m not sure what it is but I’m really worried / scared. I don’t want to jump to conclusions but has anyone else had one and know what it might be ? I haven’t banged my thigh on anything from what I know of and I don’t want to go to the doctors incase I seem like I’m wasting their time. Any advice would help thank you !