There are a couple of things I'd recommend
- A pair of good shoes
- Knee strengthening exercises
- If you expect to stand in one place, try shifting around a little rather than standing still
- Do a variety of leg exercises such as squats and lunges
- Sit and rest if you need to and if it is an option
You can't out-exercise poor eating habits.