You learn from your mistakes. No one¡Çs perfect. Everyone has different perspective so no one should be judging what¡Çs right and what¡Çs wrong if you keep within the boundaries.....(ex. law) As long as you learn it¡Çs fine.
So don¡Çt regret your past but think of it as an experience and go on with your life and hope you make it better.
Good luck in the future
¡¡