Put it at the point of failure in a short edit, right after the action that goes wrong and before the reaction shot. Follow it with the classic error sound for a double-take effect, or use the dun-dun-dun cue first when a bad decision is about to unfold.