Also make sure you are doing the right things after the ride, stretching and keeping your legs elevated. This will help you out the next day. Also, if you want to really dig into this read up on what Lactic Acid actually does for your body, here is one short article:
http://www.roadcycler.com/2006/08/ev...acid-is-wrong/