Check Engine Light on 2000 Dodge Intrepid

My engine light (check engine) comes on after driving approx. 20 miles. If I have a problem, would not the engine light stay on? Thank you,

Asked by for the 2000 Dodge Intrepid
on some vehicles the check engine light will come on due to needed oil changes and sometimes bad spark plugs etc. i would make sure that your fan is running upon starting your car and make sure you dont have a loose connection on your spark plugs the same thing happen to me on my 2006 ford fusion and it was a loose spark plug but you would feel it missing when your check engine light comes on if it was a spark plug