Place it right after the mistake is shown, as the verdict on the failed idea, then follow it with Nelson's Ha-Ha to keep the mockery going. For a quiz or test fail, open with Wrong Answer Game Show first, then let this clip deliver the judgement before the next scene starts.