There is a sticky post in this forum that defines the codes and the troubleshooting steps.
http://www.m3post.com/forums/showthread.php?t=928325
You need a new thermostat and pre-cat O2 sensor, most likely. There are DIYs for these fixes, but thermostat is not for the feint of heart.