Place it immediately after the pun line, before the next joke, so the reaction closes that beat. For a pun that falls flat, follow it with Sad Violin, and for one that gets a big laugh, follow it with Nelson's Ha-Ha after the reaction.