Are you taking any type of antidepressant medication? There are several that can help both with depression and pain. Cymbalta/duloxetine, milnacipran, desvenlafaxine, and amitriptyline are some of them.
Depression associated with chronic pain is very difficult to deal with. I had that situation about 12-15 years ago. The pain can actually cause depression on a biochemical level, plus there are lots of psychological issues surrounding living with the pain and the limitations that it brings that also contribute to the depression.
I think that it's important to be kind to yourself about this. You can reach out for help (antidepressant medication, psychotherapy, talking to people here on these forums) but the severity of your chronic pain will tend to make it more difficult than it might be otherwise to deal with the depression.
I know that there is psychotherapy specifically designed to help people with chronic pain. If that's something that might be available to you, it could be helpful.
I don't know if you are able to do yoga, but even if it was just certain postures of hatha yoga and the breathing of pranayama, it can be helpful with pain and with learning to be "in the moment" and tolerate whatever is going on.
(I feel a little silly recommending yoga to someone who lives in India! It helped me, though.)
Remember. Kindness for yourself and your struggles.