Sounds like you need strengthening, stretching and mobility work. Sit in a hard surface, put a softball under your leg on the hammy, look for where its most sensitive, usually at the bottom of the muscle belly, apply downward pressure on the softball and then extend your leg. Repeat for a few...