Either you battery is not holding the charge, so you need a new battery. Or your charger is not charging the battery, which you need a replacement. Are you using the original charger and cable? As a temporary workaround, you can use an external battery.
Award for Community Excellence 2019 Achiever* *The views and opinions expressed on this forum are purely my own. Any product claim, statistic, quote, or other representation about a product or service should be verified with the manufacturer, provider, or party.