1. Replace the oxygen sensor. The oxygen sensor is a common cause of the check engine light coming on, and replacing it may be enough to get the light to go off.
2. Clear the trouble codes. You can clear the trouble codes from the vehicle's computer using a code reader or by disconnecting the battery for a few minutes. This may cause the check engine light to go off temporarily.
3. Use a code reader to identify the problem. If the check engine light comes back on after you have cleared the trouble codes, you can use a code reader to identify the problem. This will help you to determine what needs to be repaired in order to get the check engine light to go off.
4. Fix the problem. Once you have identified the problem, you can fix it and the check engine light should go off.
It is important to note that these are temporary solutions and that the check engine light will likely come back on if the underlying problem is not fixed.