My car won't crank after I put in new plugs and a new thermostat. what's the problem on 2008 Chevrolet Cobalt

when I get the car cranked and get to my destination it won't crank up again until the third or fourth try.

Asked by for the 2008 Chevrolet Cobalt