Eng warning lite coming on. Test said O2 sensor replace. How much repair $ ?? on 2005 Honda Accord

The engine warning light comes on, then goes off, but has remained on for last month. Shop test said oxyegen sensor bad and needed replacement but OK to drive. Replaced air filter, no help. How much would repair cost and does it hurt engine to drive?

Asked by for the 2005 Honda Accord
pay attention to your check engine light if it's blinking that's serious problem, bring your car to Auto zone for free engine diagnostic test, go visit your local repair shop and get your estimate or give them a call.