Put it at the very end of a failed attempt, just before the next scene starts, so the joke lands and the edit moves on. For a bigger flop, follow it with the Womp Womp Fail Sound, or lead into it from the Awkward Moment Sound Effect when the embarrassment builds slowly.