Place it at the exact frame of the fail in your edit, then follow it with a doge bonk for the visual gag, or lead in with a run vine effect when the mistake builds during a long chase scene.