If your iPhone wont charge there may be some debris stuck inside of the port. Before you replace it this process might help you to solve the problem without opening the phone up. Otherwise you may need to replace the port or battery. See the videos below for more information:
This video/its description contains affiliate links, meaning if you click and buy, I may earn a small commission at no extra cost to you.
Also get a dust cover to prevent this problem (affiliate)
Port replacement-
Battery replacement- iPhone 6 lightning port
Mdp.lt is not the owner of this text/video/image/photo content, the real source of content is Youtube.com and user declared in this page publication as Youtube.com user,
if you have any question about video removal, what was shared by open community, please contact Youtube.com directly or report bad/not working video links directly to video owner on Youtube.com. Removed video from Youtube.com will also be removed from here.