Look for a new job.
There's a lot of comments here about focusing on yourself with meditation or hobbies or whatever. But that's just ways to survive a job you don't care about. It's a workaround.
If you spend all day training your brain to hate programming your brain will learn to hate programming. You need to change jobs. And then you will have to spend at least a year to slowly restore your brain to a working state.
It took me ~two years.
Now I'm excited about programming and has been for 8 years solid. Changed jobs again recently to keep that fire burning. There is no substitute for your job being meaningful.