Got a question from a reader having a "productivity slump" - the solution isn't difficult, it just requires focusing on and doing it. And if you do it, you'll feel better and get more done at the same time.
For productivity slumps, focus on re-gearing the fundamentals. It's almost always the following things -
How's your eating?
Are you drinking enough water?
How's your sleep schedule?
Are you deciding the most important things to do for the next day before going to sleep?
Are you reviewing and working on the most important things right away the next day?
Also think about if you've gotten fitness time, full relaxation/disengagement, and time in nature lately.
If you do those seven things - eat well, drink water, sleep on schedule, plan tomorrow before sleeping, start on what's most important, exercise, fully relax regularly, and get some time in nature - that almost guarantees busting out of a slump. If you're in a slump, you're almost certainly not doing one of those.
Review, change the ones that are out of line, and you'll break out - and feel great in the process.