Place it at the exact cut where the bad result appears, after the setup line and before any commentary. For a longer gag, follow it with the womp womp fail sound, or precede a group reaction shot with the awkward moment sound to extend the beat.