Knees Hurting

I've gained too much weight and now my knees are starting to hurt and my feet are sore at the end of the day.

I'm getting more walking in, but will any damage done be reversed as I lose weight?