2014 Chevrolet Malibu - CEL after fillup

The engine light came on after i put gas in it,and it’s lacking power,what could be the problem?

Chances are faulty gas cap. But you need to get the codes read to begin diagnosis.

How much diesel did you put in ?