I am not a doctor! Speaking from personal experience!
Depression can manifest itself very physically op. I really feel for you as it’s a horrid thing to experience and really saps your belief in yourself.
Go to gp having fasted overnight. Get them to do blood test to rule out thyroid, anaemia, excess of iron, inflammatory markers, meno symptoms etc or any other issues, and try and find physical explanation.
If not you might well benefit from an anti-depressant.
But best first to make sure that your diet, sleep and exercise are all in good order because it’s harder to be depressed when those three are functioning well.
If you are too depressed to do above, take an AD to start. But maybe visit menopause specialist too.
Instead of lying in bed, if you possibly can, try and do something creative every day and spend some time in nature. And try and get signed off work to give yourself a break from stress.