Put it at the end of a failed attempt, after a build-up, so the miss is the payoff. Use Dun Dun Dun before it to raise the stakes, then follow it with Classic Error Sound for a second failure beat.