How many miles on the engine and how does the engine run?
First, clean and tighten the ground cables and battery cables, then go have the charging system tested, voltage should be between 13.6 and 14.4 volts. If the voltage is low it could cause a handful of codes, how long has the check engine light been on?
Once you verify the voltage, if it is OK, then clear all the codes and drive it till they come back then get them read and get back to us.