Go to Autozone and get the codes run on it.
Something kinda similar happened to me after they installed a new fuel pump in my truck. Turns out they accidently punctured the hose that goes from the nozel to the gas tank and it was causing the cel light to come on because of a "vaccum leak".