How to get rid of painful memories of the past