When the afternoon brain fog hits, it's often just because of our natural circadian rhythm.
First, take a break. Get a snack or a power nap if you can.
What you need next is a mini-version of your morning ritual. Review your goals and the progress you’ve made this morning. Nothing is more motivating than progress.