I agree with Phil's comment above run the car for a while and make sure the fuel is fresh. If you still have the idle issue then before purchasing parts do the simple checks; check the condition of the spark plugs, check the air filter, check the timing then move onto replacing bits and pieces.