Place it as the punchline after a build-up, then follow it with the shocked sound for the reaction and the goofy yell for the person caught out, keeping the fart as the centre of the joke.