You must not have tighten the gas cap enough. All you have to do is disconnect your battery cable for 5 minutes. Once you plug it back in it should clear out the code from the computer and you should be fine. You will probably lose you radio station settings and other setting you might have.
If it comes back then you will have to take it to the dealer to swap out your gas cap due to a faulty gasket or such.