Place it at the end of a failed attempt, after the mistake is clear and before the reaction settles. Follow it with a sad violin for extra melodrama, or lead in with a wrong answer sting to set up the failed attempt.