Place it right after the bad idea is stated, as the payoff to the setup, then follow it with Awkward Crickets to underline the embarrassment, or lead into it with Shocking Sound Effect when the mistake needs a bigger reaction first.