Is this an automatic? If it is, the next time it won't start, try moving the shifter from park to neutral and trying it. If it starts, your neutral safety switch is worn out. You may have to wiggle the shifter around while keeping the key turned on to see if it will start in neutral.