Since it sounds like you are new to doing distance events/ rides. My piece of advise is to put yourself on a "hydration schedule". Using a cyclecomputer/ watch or anything that you can monitor time. Plan to drink at least a bottle an hour. If it's warm/ hot out you will need electrolites in the water.