I'm going through the same thing right now. Major regrets and embarrassments from the past, and I can't shake them. I hear people say accept them, but mine are on a level where I honestly just want to wipe my memory of much of my past, which I've come to realize is impossible. Part of the game of life. Men in black flashy thing I'd use in an instant if I had one. I sometimes wonder if I'll ever feel the same excitement for life that I used to have. It really was an awesome feeling living life with no regrets. I've been able to laugh at stuff occasionally, but these regrets and embarrassments are constantly in the back of my head all day. I actually am about to do some "psychedelic therapy" sessions in the woods and nature. I think they are my last chance, and I hope they will help greatly with getting me to a point where I completely choose to never think about the past, and start anew with a blank slate. It'll work, don't know why I've waited so long to take them.
What I say to you is to accept what's happened and integrate it as a learning experience if you want to, use it to make you stronger, and go forth, and don't look back.
If you don't wanna remember, like me, Just do your best every day to never think about those moments, fill your time with hobbies and friends to keep your mind busy, and maybe eat some mushrooms. They've had excellent results in therapy applications.
(If you think your memories are bad.....millions of people saw my embarrassing f-ups every step of the way for many years. No joke, and I ain't gonna explain it, and no I'm not famous)
If I can get through this, so can you. And I will.