Learn from the past, but don't live there. Build on what you know so that you don't repeat mistakes.
Your past is not your potential.
Worrying about the past or the future isn't productive. When you start chastising yourself for past mistakes, or seeing disaster around every corner, stop and take a breath and ask yourself what you can do right now to succeed.