Cope with painful memories. Many people are depressed or anxious because they are holding on to one or more traumatic experiences from the past, and they are going through a significant change, or have lost a loved one. While it is extremely difficult to erase these memories and go through these experiences, there are things you can do to reduce their prevalence in your everyday life.