you hydrate with plenty of water in the days leading up to the race. Aim to drink regularly throughout the day (a minimum of 6-8 glasses or 1 litre daily). You also need to drink regularly during exercise and rehydrate fully afterwards. Electrolytes