Depending on what actual number the codes were and what the diagnostic said about them would indicate what would be the best way to repair the problems your having.
If you could tell us the numbers of the codes the diagnostic revealed.
EDIT: if you go to auto zone and get the codes scanned they can print out what the diagnostic system concludes. Its free of charge. You could remember what it said or bring the print out back and type out what exactly it said. Good luck and if you can get the exact codes let us know.