My 2009 Honda Accord coupe shut down, engine light on?

Ok, it shut down while driving. I was able to start it back up and has been fine since. I checked gas cap and the engine light went off but has since come back on. I know I should take it in, but thought I would ask maybe someone knows something to do now. This happened yesterday.

Get it checked

You'll have to have the vehicle scanned for codes first. That will hopefully give some hints as to what went wrong.