Things to consider when things go wrong.