Place it near the end of a short fail, just as the mistake becomes unavoidable, then follow it with the danger alarm to raise the stakes. For a game-over beat, pair it after enemy spotted and before a jumpscare, so the moment builds into a larger scare.