You are not perfect, nor is anyone expecting you to be. You made mistakes and you will inevitably make more mistakes in the future. If you learned from those mistakes and you do your best to not make them again, then that is all that is required of you. This life is not to be taken so seriously that you guilt yourself over anything in the past and not allow yourself to move forward in life. As long as you follow the laws imposed by society and respect the people within those laws, then you are doing what is expected of you. If you made a mistake, apologize for it, and show remorse for your actions and learn from it. The other party will respect this. Depending on how severe your mistake is, you might have to pay for it in some way, but if you accept justice with an open heart and mind, you will maintain the integrity of your Soul.