Most people dwell on their regrets as if they can change them.
You can't. Regret is a necessary part of life.
You have two options: view them as ugly stains that make life worse, or view them as cracks that can be sealed with better future decisions.