1) See a doctor.
2) Quit your job if it’s causing you a great deal of stress.
3) Get a dog… if you can afford it. Pets a a great stress relief and it will give you something to be joyful about.
Sounds like burnout to me… I’ve gone through similar issues recently. Just beginning to feel myself again. Eliminate all sources of stress and see a Dr. They can help you get the care you need.