Place it at the very end of a build-up, right before the reveal or punchline lands. Follow it with a sudden suspense sting if the moment stays tense, or let a laugh track style reaction take over if you are turning the scare into a joke instead.