Place it right after the visual gag peaks, before the next scene cuts in, so the joke lands and clears. For a bigger fail, follow it with the SpongeBob Fail sound, and for a cute reveal, lead into it with a Bell Ding sound first.