Title.

Context: 2010 Chevy cobalt 90k 5 speed

I restart the car and give it a little gas for about 5 seconds then it idles fine. Weird. Thoughts?