Here's what you should do:
1. Diagnose the Problem: Use an OBD-II code reader to get the diagnostic trouble code (DTC). This code will tell you *what* the problem is. Auto parts stores often offer free code reading services.
2. Fix the Problem: Once you know the code, you can research the problem and fix it. This might involve replacing a sensor, fixing a leak, or performing other repairs.
3. Clear the Code (After Repair): *After* successfully repairing the issue, you can clear the code. You can do this with your OBD-II code reader. Many readers have a "clear codes" function. Some advanced readers even allow you to perform various other tests and monitor sensor readings.
Important Note: Simply clearing the code without fixing the problem will only temporarily turn off the light. The light will likely come back on until the actual problem is addressed.