Place it right after the failed joke or embarrassing reveal, as the reaction that closes the scene, then follow it with Emotional Damage to turn the embarrassment into a running gag, or lead in with a baby laughing meme when the joke starts harmlessly before it goes wrong.