Fix the underlying issue first
Turn the ignition off
Disconnect the negative battery terminal
Wait 10 to 15 minutes
Reconnect the negative battery terminal
Turn the ignition on
Check whether the light is off
Use an OBD2 scanner to clear the code if needed
Drive the vehicle to confirm the light stays off
