We have all done things that we regret, a major part of recovery is moving forward and changing all the parts of your past that you want to make sure that they don't happen again in the future.
Do you have a recovery plan? Just winging it is not a great idea, recovery takes work and dedication. You can do this! Just put your all into it and believe in yourself. Our own perception of ourselves is one of the most important things to work on in order to create a strong and lasting recovery.