weird idle

i just put another motor into my da and the idle is high like a 1.5 sometimes 2 and when im driving for a while the idle starts falling up and down from 1 to 1.5 back and forth any seggustion would help oh yeah im new this site my friend told my about this site.