Put it at the exact point of contact in the middle of a gag, with Whip Sound Effect just before it to sell the swing, then follow with Shocking Sound Effect for the reaction that follows. That three-beat order keeps the joke clear, lets the audience register the hit, and leaves room for a laugh or a cutaway.