Become a MacRumors Supporter for $50/year with no ads, ability to filter front page stories, and private forums.
Restart the iPhone
Clean the lightning port
Replace the cable w an Apple cable
Replace the charger block

If nothing-
Return iPhone to Apple
 
  • Like
Reactions: Kamyarsheisi
Register on MacRumors! This sidebar will go away, and you'll see fewer ads.