Place it immediately after the pun itself, then follow it with the Shocked Meme Sound for the next beat and the Oh No No No Laugh when the joke keeps getting worse, keeping the bad-pun moment as the centre of the edit.