If you can afford it, switch job... Anything not computer related... Learn to cook... Do something that gives you happiness and make a living of that. Or... Take part time computer related job, as freelancer or offsite contractor and use the spare time un some personal project. Maybe electronics and IoT &#x2F; home automation can be a profitable area of development and your previous software background can be helpful. Definetly you should take therapy. That will help you to find the lost taste for what you do and redirect your efforts in be a happy person.