If I know I'm in for a full day of walking, I go ahead and take 800mg of ibuprofen before I even set out. And as Caberfeidh said, a warm bath afterward does wonders for easing muscle soreness, especially if you can get into one sooner rather than later (not always possible with the more remote hills...