When you drive the car, the battery isn't getting recharged, i.e., there is a mechanical charging problem. There is a parasitic electrical drain on the battery, possibly caused by a bad alternator. The battery is simply old and it's time for you to replace it.