How to forget the past memories