Jeffo.
Do not fear, but rather listen to what SDPATT is telling you, and learn.
The O-2 sensors sample the exaust gas as it flows past them and then tells the computer, through the wires and connection, whether the mixture is rich or lean. The computer then adjust the mixture by adjusting the fuel injectors amount of time open and the size of the opening.
The O-2 sensors continuously switch from rich to lean as the fuel injectors are continuously adjusted. The plan is to have a mixture of fuel to air ratio of 14.7 to 1. That is the perfect mixture for economy and power and the most complete burning i.e. less pollution.
When all of the above is not happening the O-2 sensor code will be stored in the computer. If the sensor stops switching, or the number of switches is less than the computer is programmed to expect, the computer stores a code. If the sensor is staying on the lean side the code for that is stored. If the sensor stays on the rich side the code for that is stored.
Now here is the point SDPATT is making. Is the code telling you that the sensor is faulty, or is the sensor sending the correct information, that is, is the engine actually running rich or lean indicating the problem is elsewhere.
An engine could be running lean due to a vacuum leak, or rich due to faulty plug wires, plugs, or simply a dirty air filter.
O-2 sensors usually fail slowly and their switching slows down, which will cause a code to be stored. As a rule of thumb, if the sensors have at least 50,000 miles on them change them. The recommended change interval is 60K.
If after you change the O-2 sensors the codes return, after you cleared the codes, then start looking for the cause of the code starting with the connections to the sensor and its wires. If the connection and wires are OK, then look for the fault indicated, either a rich or lean condition.
Note: most of the above has been simplified.
Bottom line, do not assume a sensor is bad because of a code. Investigate and do the diagnostics. Determine is the sensor is giving you correct information, or if it has failed. rangerj