Thank you for asking your question on JustAnswer. The most common cause of the problem you are having is a sticking or defective IAC (Idle Air Control) valve, located on the throttle body of the upper intake manifold, I can send instructions on how to replace if you need me too.
Thank you again for trusting us with your problem. Please reply as soon as possible so that we can finish answering your question.
Thank you for the prompt reply, here are the instructions below, hope this helps you out.