The car was towed, and was checked up at the shop. The mechanic said there was nothing wrong with the car, but on my way home the same thing happened. After 15 minutes, I finally got the car to start, again. Then after another two or three miles, it stopped. I opened the hood, and checked to see if the gas was coming to the engine. The gas was okay. I took one of the spare plugs, and checked for electricity. I found out that there was no electricity coming to the plug. Then the car started, again. I let it rest every 10-15 minutes.
Any ideas? Sensor? Computer? What else should I check?