Drink small amounts of caffeine every few hours to keep going on little sleep. Low doses of caffeine throughout the day are more effective at maintaining alertness than a large cup of caffeinated coffee in the morning. Drink four to six ounces at a time to stay alert and think more clearly.