I recommend taking a look at this article and contacting Apple Support to see if you might need to replace your iPhone battery: iPhone Battery and Performance - Apple Support
If you think you might need a battery replacement, I recommend contacting Apple Support via one of the following methods:
• Call 1.800.275.2273
• Visit Contact Apple Support
• Download the Apple Support on the App Store