You need to get a small win of some sort. It doesn't matter what. Just aim at the smallest win you can get on the work. If you fail at that, aim for a smaller win. There will be at least a tiny win you can manage. You will feel better. Then double down.
Was gonna say exactly this. Doing something small and actually accomplishing makes a huge difference because it tells your brain I am capable of doing things. From there it becomes easier to slowly raise the bar of what your brain thinks is doable and thus things that you'll psychologically be able to go ahead and do.
It's really important also to make sure you don't aim for things that are too hard and fail too often. A bit of failure is okay but if your ratio of failure to success too low you'll lose self confidence and it becomes harder to get into a sort of "flow" of progress.