There's alot of common faults on these engines, all with similar symptoms.
2 things normally show up on the fault code:
1. Emission control valve - sits at front of block on right hand side
2. Potentiometer - sits on the throttle body near the air filter
Try the Emissions valve first as its cheaper