Oversimplifying but have found, through over a decade as a competitive runner, that the majority of overuse injuries can be treated with a handful of simple exercises.
For knee pain, stretch your quadriceps religiously and begin a protocol of back squats. If squats are too painful, do eccentric...