I have a huge pain in the middle of my thigh and i’m pretty scared

So for the past two ish weeks my thigh has been hurting really bad. No medicine helps and it’s been crazy swollen. I didnt do anything to the point where it would get this bad. Has this happened to anyone else?