Place it at the end of a failed attempt, just after the action collapses, so it marks the cut-off point. Pair it with a classic error sound first to signal something went wrong, then follow with a dun dun dun to close the sequence.