Place it at the end of a close-call sequence, just after the tense moment resolves, so it acts as the payoff. Follow it with Woody Woodpecker Laugh to keep the mood up, and keep it away from serious scenes where it would break the tone.