Make sure to have good shoes. If you suspect your flat feet are a contributor, head to the foot doctor where you will likely get a custom insole. My sister did the very thing years ago and it keeps her feet/ankles from hurting most of the time. The major downside is that she can't wear many "women's summer shoes" or some dress shoes since the insert won't fit.