Place it at the end of the scare sequence, immediately after the reaction shot, so it closes the gag. Follow it with an evil laugh for a darker payoff, or a funny laugh when the prank stays light, and keep the next cut quick to preserve the surprise.