Place it right after the mistake or failed moment in your edit, then follow it with a censor beep to play up the joke. For a bigger reaction, add a vine boom just before the reveal, so the swear lands as the payoff rather than the setup.