When things go badly, it is your fault, not theirs. You are responsible. Analyze how it happened, make the necessary fixes, and move on. No mass punishment or floggings. Fire people if you need to, train harder, insist on a higher level of performance, give halftime rants if that shakes a group up. But never forget that failure is your responsibility.