Have a Car Question? Ask a Mechanic Online.
Welcome to JustAnswer, I'm Neal and I am here to assist you. Please feel free to ask follow up questions, it is part of the process.
That would be a bad IAC valve (Idle Air Control), it controls the air mixture only at idle so if that is the only time it is acting up that will be the problem.