Welcome to the site!
Go to AutoZone, Advance, etc. and get them to read the code. Do not buy anything from them (yet), come back hear and post the code that was read, and do a search on the site for similar posts. Sounds like your Idle Air Control needs cleaning or replacing, but that usually doesn't throw a code. You may have a mis-fire, but the codes should reveal what's going on.