See this support guide:
If your iPhone, iPad, or iPod touch won't charge - Apple Support
If you get no help, it could be a battery problem. I would make an appointmente at your most convenient Apple Store or Authorized service provider and have your iPhone inpected. They will diagnose the issue and give you all the available options:
Apple - Find Locations - Location Selector
Regards
Giulio