Put it at the very end of a failed moment, after the action has stopped, then follow it with Dun Dun Dun if you want the joke to grow darker. For a sillier version, start with SpongeBob Fail and let this clip close the scene instead.