IAC motor idle air control due to coking up / sludge you can try cleaning it out sometimes replacement is required. once the new one is installed hold your foot on the throttle for a few mins at 1600 rpm or so the PCM will relearn idle control. if your battery is weak it will also cause the pcm to learn the values of idle.

when the vehicle is warmed up how is the idle good luck