Even though you're extremely tired and a cup of coffee seems like the best way to wake you up, try to stay away from it.
Caffeine will only dehydrate you more, and since it's also a diuretic, it will not help your stomach. Milk and other dairy products are also not a good idea; they may make you feel more queasy.
