I try to eat at least an hour and a half before the ride. That's when I start drinking lots of water. 15mins before I head out I use the restroom then gather my gear. I'll air up my tires then too. 15mins before the start of the ride, I'll take a swig of gel from my flask and some water.