I was once in a class being taught by an MD. I mentioned that I liked chocolate covered espresso beans. He told us a story about a classmate who brought a five pound bag of them to study for finals. The classmate ended in the Emergency Room for a caffeine overdose.
if it's a task I have to do, I literally just make myself physically take the first step no matter how much I don't want to, because once I'm in media res, inertia kicks in.
It really depends, I try to listen to my body and think of whether I’ve had enough water and food and sleep, then fixing the issue accordingly by either hydrating, eating, or taking a short nap (or doing yoga nidra).
If none of those are the issue or if the nap is not possible, I will try some caffeine (coffee in the morning, cacao in the afternoon).
And if I have a chance, I will listen to some brainwave music that stimulates beta waves in the brain for concentration.
Finally, meditation helps me. It can be a nice pick-me-up and an opportunity to recalibrate and reset.
I read about that trick years ago. It was in an essay by Ian Fleming. He wrote '...as hot as you can stand it for as long as you can stand it, followed by as cold as you can take it for as long as you can take it.'
I've had a shitty time most of my life, my mantra is Back Straight, Chin Up, Eyes Open, and Keep Walking.
Tomorrow's another day. Sleep is the best 'reset button'.
Also, re the keep walking thing, it can be a lot easier to target nearby distance markers at a regular pace than to only think about the far away finish line.
I find that slowing down and just meandering through the things I have to do more slowly and comfortably, actually helps when I feel burned out. Maybe with some music. Feelings of urgency/tension in my body actually sap my energy way too quickly, before I can even get started. So I focus on managing stress preemptively.
This is not applicable to everyone or every situation but it made a big difference for me.