The last module of Cognitive Behavioral Rehabilitation aims at problem solving strategies and relapse prevention. The ninth session begins with the identification of personal problems, mainly by distinguishing it from preoccupations; the topic is important because patients often incorporate their problems to expectations and desires, generating an urge to abandon them, the session ends by emphasizing the importance of mental flexibility in generating as many responses as possible to each identified problem. In the tenth session, patients learn solving-problem techniques in a systematic setting. The eleventh session devotes to review information and clarify possible doubts from the patients; patients are also encouraged to debate the importance of regular routines and regular sleep, which can be adjusted using sleep hygiene techniques. A progressive muscle relaxation ends the session. Finally, the last session´s target is to avoid future mood relapses, it by returning to the personal goals defined in session one and prompting patients to develop a prevention plan. The acronym H.U.M.O.R. resumes the core points of the post-intervention maintenance program: 1) Habituate to a regular routine; 2) Use what you have learnt; 3) Monitor your mood; 4) Observe arising problems and deal effectively with it; and 5) Respond to automatic thoughts. All patients in the cognitive behavioral rehabilitation group will also receive TAU.