If the phone immediately shuts off after you unplug it from the charger it probably needs a new battery.
open