The type of depression can matter for effective treatment.