A good start would be to draft and deliver sincere apologies or otherwise make amends to those deserving same. Most people make mistakes at one time or another, and atonement can bring one closer to closure. The good people will understand you and respect you a little for it perhaps. Then, move forward and don't make any repeat mistakes.