It's most likely a bad IACV.
There should be two cylinder-shaped things with coolant lines running to them between the intake manifold and firewall. The one that is parallel to the firewall is the IACV and the one perpendicular to the firewall is the fast idle thermo valve.