Few months ago, after I ran for a long time I had pain in my legs muscles. And now the pain appears each time I start running. Iam 20 years old. Why?

Spasm? tear? Could be technique, shoes, body mechanics, less likely referred pain from back. Might have had small tear in muscle, takes a long time to heal, re-traumatizing area. Might benefit from physical therapy; see md.