in general

1 hour or less plain water is fine

1-2 hours some calories in your bottle - either work to find a sports drink you can tolerate (Gatoraid is pretty icky - there are better things) or make your own. I've know people who use watered down fruit juice or honey and water with a little sea salt mixed in.

2+ hours take or purchase along the way, some solid nutrition - doesn't have to be sports specific. Lots of people like pretzels, pbj, fig newtons etc.