Which car/engine?
For the 2002 you get into the DTC readout, initialize the sequence and let the codes/modules scroll through to the end, and the DIC will ask "Clear all codes?" Answer YES if that's what you want to do.
If you simply leave any History codes alone they will self-clear after XX start-run-drive cycles during which the fault is not detected. Current codes will remain until you repair the problems- in that case clearing codes accomplishes nothing because as soon as the fault is detected the codes set again and maybe messages and icons appear.
For the 2002 you get into the DTC readout, initialize the sequence and let the codes/modules scroll through to the end, and the DIC will ask "Clear all codes?" Answer YES if that's what you want to do.
If you simply leave any History codes alone they will self-clear after XX start-run-drive cycles during which the fault is not detected. Current codes will remain until you repair the problems- in that case clearing codes accomplishes nothing because as soon as the fault is detected the codes set again and maybe messages and icons appear.