Coffee can help you stay more alert if you spread its consumption throughout the day. This means that most people can drink two to four 8-ounce cups of coffee a day without experiencing harmful effects. Drinking coffee may also help maintain mental health longer.