Place it right after the mistake in your edit, then follow it with an awkward moment for the pause before the next scene. For a bigger fail, pair it with a womp womp fail after the bonk so the joke builds in two steps.