Fix the underlying issue first
Tighten or replace the gas cap
Use an OBD2 scanner to clear the code
Disconnect the battery for a few minutes
Turn the ignition on and off a few times
Drive the vehicle for several trips
Check whether the light returns
Seek a mechanic if the light stays on
