Place it immediately after the mistake in your edit, then follow it with a funny laugh to turn the moment into a joke. For a gaming fail, put a damage sound just before it so the cause lands first, then let this clip close the sequence.