It's important to critically assess what went wrong and why, and then move forward with purpose. Here are five steps to consider.