How to let go of the past mistakes?

When I was 19 my grandmother gave me $50,000 for my college education. I spent it all on women. I wasted 4 years of time, money and I also ruined my relationships with friends. Now I am 24, much better mindset than before but I just can't let go my past mistakes
How to let go of the past mistakes?
Post Opinion