Eat a substantial breakfast before any long ride.
If it's going to be more than three hours or so, bring a granola bar or two (or something like that). And a credit card, in case that's not enough, so you can stop and get a snack somewhere.
Eat a big meal when you're done.