Place it just after the punchline, once the joke has landed, so it acts as the audience reaction. Follow it with Nelson's Ha-Ha for a second beat, or cut to the laughing dog for a visual gag that keeps the joke going.