Place it at the exact credit or name-reveal cut, after your main gag has landed. Follow it with the Awkward Moment sound for a stalled reaction, or lead in with the Windows XP Error sound when a plan fails first.