If the car runs good, start the engine and check voltage across the battery. Verify that you have around 14.2 V. If that checks out, as John said, take it to a car parts store (they will do a load test on it, that tells you if something is wrong internally with the battery).
If that checks...