What are the codes
The check engine light (service engine soon) comes on and stays on when a problem is detected by the self diagnosis system of your vehicle. Generally, the problem is in the emissions or something that is affecting the effectiveness of the emissions, but other causes can trigger the light to come on, too. To determine the cause, the vehicle will need to be taken to AutoZone or a shop that has an OBD2 scanner, or for 1995 and earlier models, an OBD1 scanner, While a scanner will not give you the magic answer, it will give you a code that narrows down the problem area.
The check engine light will illuminate.
Unfortunately there is no fixing an O2 sensor. If the "check engine" light is on due to an O2 sensor, it can only be remedied by replacing the bad sensor.
I had all sensors replaced in my 03 Trailblazer and the check engine light stiil comes on. Why?
If a 2001 Chevy Impala will not start after replacing a thermostat, perhaps it is possible that a sensor was bumped unknowingly. Check all of the sensors that might have been touched during the changing of the thermostat to see that they are all still plugged in.
Replacing the water pump will not cause the check engine light to come on. Either it is a coincidence or you have accidentally disconnected a wire or damaged a sensor somehow.
If it is bad, replacing it will help with the vehicles emissions and put out the check engine light.
There is another cause for the code.
Check engine light will come on for various reasons. The o2 sensors could be one of them. If your belt breaks the light will come on and the engine will over heat. I mentioned the o2 sensor because when it comes on for this reason some people have had that light on for years without replacing the sensor.
You should have a check engine light illuminated. If so check the codes.
disconnect the negative battery cable for 30 seconds
Your O2 sensor is a "part that is designed to wear out". there is no standard on replacing them, but if your car is running fine, and your check engine light comes on, and stays on, it's probably an O2 sensor.
THE CHEAP WAY.... DISCONNECT THE BATTERY FOR A MINUTE OR SO. JOSE