2014 Ford Fusion gas cap causes check engine light. What do i do?

I have a 2014 Ford Fusion Energi, brand new. Today my 'Close Fuel Door' notification kept popping up even though it was closed. I opened and closed it a few times. Shortly after my check engine light came on. I'm almost positive it has something to do with that as it is a brand new car that is well maintained. So my question is, what can/should I do?

The car is under warranty. Don't worry about it. Just take it the the dealer

1 word, warranty

I would head straight to the dealer if its under warranty

Take it to a local dealer for warranty work.