Current diagnostic trouble codes (DTCs) will clear as soon as the fault goes away or has been repaired. History codes can be cleared with the use of a scan tool or by removing and restoring power.