Put it near the end of a failed-joke edit, after the setup has played out and before the reaction shot. Follow it with a shocked sound for the stunned beat, then an oh no no no laugh to turn the embarrassment into a shared joke, and save a goofy yell for the final tag.