How do I keep my past from haunting me?

There are bad memories and stupid things I did in my teenage years that keep haunting me. These are memories that could have made my present life worse and memories I wish I could forget. They keep replaying in my head. I feel like I need miracle psychology that I could be over these bad memories. Suicide would be the easy and wrong way out.
How do I keep my past from haunting me?
Post Opinion