Try decaffeinated coffee if you want the benefits of coffee without caffeine-related side effects.

Prioritize getting 7–9 hours of sleep rather than relying on coffee to stay awake.