If you mean the engine will not turn over, the problem seems to be in the starting system circuit. This other post may help:
If the engine cranks but won't start after the car has been driven about four miles (engine turns over but won't start), then possibly the ignition coil or ignition module is bad. In this case, the coil reaches operating temperature, coil breaks open and the car stops. Once the coil cools, the broken wire makes contact and you are able to start the engine, and the cycle repeats.
This other post may help you test the ignition coil:
If your car has a coil on plug configuration, check the repair manual for your particular model to test the coils. You can also check for spark right after the engine refuses to start. If there's no spark, you know the problem is in the ignition system (or crankshaft-camshaft position sensor) and you are on the right track.