Pain in my upper Quad that circles to my groin

Patient: I’m having pain in my upper thigh and groin area. Im 18 and run everyday. The pain is worse when i sit/ rest and when I run the pain goes away shortly after my legs loosen up. What is the cause of the pain? Is it just a strain or something else?

Symptoms: Ache and pain in upper thigh and groin area