I try to fight procrastination with a good rest. When you work a lot, your motivation decreases and your brain concentrates worse due to stress. I would advise you to go to bed early or work out in the gym.
In this case, you need to see a doctor, he will be able to find the cause of the problem sleep and prescribe treatment or give advice on how you can deal with it yourself. When I had burnout at work, my doctor advised me to learn more about nootropics, I read about them at Canadian Pharmacy, I realized that these pills really help me work efficiently until I can go on vacation. I noticed that my cognitive abilities improved, it was easier for me to concentrate on the work process and I was more motivated. Also, these pills helped to get a healthy 8 hour sleep, I stopped waking up at night and lying in bed trying to fall asleep again.
They way I deal with it is that I try to have small moments throughout the week to relieve stress. I tend to lose motivation when I am too stressed and overwhelmed. So taking even a couple hours to recharge helps. I go on drives, usually around nature. I hang out with friends or family or I go for walks. But I stay away from social media, which I feel drains me.