By addressing the unfavourable thoughts associated with depression, cognitive therapy works.It enables you to understand how your thoughts affect your emotions.Together, you and your therapist identify harmful thought patterns and change them while creating effective coping mechanisms.Therapy, which typically lasts three to four months, is effective for treating depression brought on by loss, marital strife, significant life events, and social isolation.The use of psychodynamic and interpersonal therapy aids in the treatment of depression brought on by loss (grief) and conflicts in relationships.