In this particular case you may have some sort of electrical issue. Best thing to do it have it diagnosed because even though it may run okay after you turn your ignition on and off, it may fail later on.