Place it at the very end of a failed attempt, after the mistake is clear, so it closes the scene instead of interrupting it. Follow it with the Sad Violin to stretch the moment, or put the Wrong Answer Game Show sound just before it to frame the mistake first.