Things aren’t always roses and rainbows. How to react when things go wrong.