how to set idle??

Can anyone send me the link or tell me how to set up tps.
Since I fitted new engine car is idling at 1800 when worm .
Is it tps or air idle control valve my problem?
 
Top