Don't beat yourself up over past mistakes. You are going to fuck up again in the future. Quite possibly in a more spectacular fashion.
Why worry about yesterday's fuck-ups when you have tomorrow's fuck-ups to look forward to? Fucking up is part of your growth process.