Place it at the end of a pet clip, right after the dog appears on screen, then follow it with a funny laugh to sell the joke. For a bigger payoff, add an air horn after the laugh, keeping the bark as the setup and the laugh as the closing beat.