Chosen Solution

I was driving home and my car just shut off on me I try turning it on again but it won’t start it cranks but won’t turn on can anyone help me out is a Honda Accord 1998 3.0 engine

Leave it overnight so it is cold in the morning when you go to start it again. If it starts when cold but shuts off when hot. Change out your crank position sensor.