Happened to me a lot when I first started lifting weights. Now I don't do it as much but I remember my whole leg being sore for at least 4 days after a leg workout. I discovered that it helps to do some light exercises then stretching after. Alleviates the pain some.