Try to eat your meal 2-3 hours before cycling to allow enough time for digestion. If you don't have that much time, you can have a smaller snack like a banana or a granola bar about 30 minutes before cycling.