Another option if you don't mind a bit of work on yourself is to get the book Pain Free by Pete Egoscue.
He basically contends that all musculoskeletal pain is caused by incorrect posture.
Two tests for good posture, when you are standing up, just look down at your feet.
Are they pointing forward and not splayed out at an angle. Pointing forward is good.
Also if you were to draw a line down from your shoulder, elbow, hip, knee and ankle,
the line should be vertical.
There are other tests for good posture which I can't remember at this moment.
Anyways, in the book, he gives some stretches/exercises for each joint in the body that is causing you pain. These stretches/exercises will get rid of the pain in that joint (no guarantees implied).
So you might do the exercises for knees and ankles.
After sorting these out, he gives exercises for whole body good posture maintenance.
The people I know who have used it are very enthusiastic.
I got the book and did some of the exercises but couldn't be arsed to keep them up especially as a lot of the exercises/stretches are very very similar to yoga postures.
I now do yoga and that keeps me pain free.
As an aside, I did a session with an Egoscue practitioner and afterwards felt taller and walked with good posture (for the rest of the day).
So my advice would be to do the exercises in the book or find a good yoga class with a teacher you like. (Obviously not every teacher is good and you may need to try a few).
Hope that helps