Genuine Apple MD819AM/A 2/1m Lightning to USB Cable for iPhone, iPad

Lightning to USB and a USB wall adapter Use a wall power socket and check for firm connections between your charging cable, USB wall adapter, and wall socket or AC power cable, or try a different socket.Remove any debris from the charging port on the bottom of your device, then plug your charging cable firmly into your device.

eBay