Only option for me at my workplace is either coffee (undrinkably bitter) or expired tea (tastes like rot). Did not have enough time yesterday to make myself tea for the next day and the shop where I buy energy drinks is closed. I extremely drownsy and my head hurts.
EDIT: Coffee is undrinkable to me, quality or not. The bitterness will just overpower everything.
Others have given some simple suggestions that you should try first, but if this is a recurring issue, you could consider seeking an opinion from a doctor. If you have some untreated, underlying condition holding you back, no amount of healthy living or caffeine is going to improve things in the long run.
For example, it’s possible to develop allergies late in life, which could lead to grogginess and headaches.
I’m backing this one, but if you can rule out a medical angle then I want to mention yerba mate. Brew with a little honey, add ice, and it’s basically coffee-strength Arizona Ice Tea for less than half the price