It’s no good to think back to memories of the past and cringe at what you said or did.
You can’t pretend it didn’t happen and push the memories down.
You must forgive yourself and see that it was all somehow necessary for your life, growth and evolvement.