You could spend considerable time looking at and assessing what happened in some way and why. Alternatively, you could identify a real and reassuring solution or way forward. All that's required is a simple change in focus and
attitude.
It’s not very often that things turn out right on the first try. That’s okay! Just accept that trial and error are part of the process and learn from your mistakes.