in such situations, depression
and pain need to be treated with adequate medications.
Because, one can aggravate other and vice versa
Effect of antidepressants are likely to come after few weeks
Along with medication, you should talk to someone and share your distress. This will also give relief.
Keep to your doctor's appointment and consult a psychiatrist