Check Idle Air Control (IAC) valve, fast idle valve, and fuel system. Check coolant temperature sensor.