Hi,
Does it work OK with the charger connected and switched on?
If so, after months of no use the battery will have become depleted and perhaps now fails to hold a charge.
It may be that the battery has to be replaced.
What is the charge level showing when you just try to charge the battery and not try to turn it on?