hmm. A possiblility is your IAC (idle air control) valve
The enigne will NOT idle with the valve disconnected or if its stuck closed.
You need to check your codes if the check engine light is on. That will point u in the right direction. If u get a code about the IAC valve, then that will probably fix your problem.