Avoiding alcohol and filling up a water bottle before the flight seems to help a lot.
I also avoid non-bottled water. I've read conflicting reports about the water used in the tea/coffee - either it comes from the same source as the handwashing water in the lav or some other rarely cleaned container.
I get tomato juice on the plane for vitamin c (plus no sugar like OJ)