Place it at the peak of the fail in your edit, preceded by the error sound for the mistake itself, then follow it with a vine boom to close the gag before cutting to the next play or replay.