If your car starts and runs and then the battery drains, it's probably a bad alternator. If the car runs fine but won't restart once you shut the engine off, it's probably a battery with no reserve capacity (replace the battery). I'm sure there are other things that could cause a problem too, but these are the most common/basic fixes.