I am no expert, and I am really just a silly man... so a grain of sea salt with this one, but physical pain and depression seem to go hand in hand in hand.
Wether your depressed and that has caused pain or in pain and that has caused depression, I would try and combat the pain first. Heating pads, ice, relaxing bath, address the bed mattress... is it too soft or hard?
Some meditation or as I like to say... sitting quietly in a dark room. Maybe some gentle stretching to relieve the tension?