If the engine light is on due to a loose gas cap, it should reset itself after a few minutes of driving. However, if the engine light is on for another reason, it will likely stay on until the problem is fixed.