Very few people drink as much water as they really should. And for athletes involved in water-loss prone activity this is doubly important.
Drink more fluids and eat nutritionally before your rides. If they still persist take a visit to your doctor, hopefully he/she'll know what to do.