Do not ask here, go to the doctor. Depression is a symptom which can have different causes (I had a depression from social anxiety at a point in my life).
A good psychiatrist will treat the cause (for example, by recommending some therapy, like CBT), not just symptoms. And will not just prescribe medications, which do work quite well though.