How to fix the battery?

So when I got my Acer nitro 5 I was a bit impatient and and didn't let it charge before I used it. Now whenever it's plugged in and idle for days it won't charge and stays at 0% so when unplugged it immediately powers off

crwdns2934089:0crwdne2934089:0 crwdns2934093:0crwdne2934093:0

crwdns2934109:0crwdne2934109:0

crwdns2889612:0crwdne2889612:0 0
crwdns2934285:0crwdne2934285:0