Place it at the end of a failed attempt, after the mistake is clear, and follow it with a laugh or a reaction to lift the scene again. A game show buzzer works just before it to mark the wrong answer, while emotional damage fits after it when you want the reaction to land harder.