This question would be very difficult even if we knew what kind of car it is. However, there can be several reasons. I would start with the ignition coils, then the fuel pump relays, then the computer.
Gerald Wheelus
General Manager, Edgewood Parts
Edgewood, Texas