for the months up to the race , you watch what you eat and drink , you figure out the perfect mix of carbs and sugars and proteins and you stick to it , you figure out the perfect training schedule , how many miles how many times a week , how much and what kind of weight training , and so on .