Place it early in a scene as the warning builds, then follow it with the classic error sound when the failure is confirmed and the dramatic dun dun dun as the consequence lands, keeping the alarm as the background cue throughout the sequence.