Put it at the exact moment of failure in an edit, then follow it with a shocked reaction sound so the audience has somewhere to land. For a bigger gag, start with a long brain fart and let this clip finish the joke, or stretch the embarrassment with fart with reverb after the first hit.