How to revive dead car battery?


I hope this post is related to this group because I think this is
about electronic a little bit.

Hmm, my car battery is almost dead. But, when I jumpstart it, it
starts well and the battery is also okay for another 2-3 start after
running it a while. Then, the next morning the car battery is flat
out. So, is there any method for me to revive the dead battery?
Because I think it is not fully dead yet, if I throw it, it would not
be good to the environment.