Place it near the end of a sleepy scene, just before the subject finally gives in, then follow it with a snore sound to complete the joke. It also works after a yawning moment in a longer edit, where a second sleep cue makes the payoff clearer.