Are you wondering why your iPhone isn’t charging? There might be some problem with the cable or the lightning port, but what if some degrees of dust or something else has stuck into the sockets and it is merely a matter of removing them? If this is the case, all you have to do is, simply remove the lint with a toothpick (of course you need to switch of the phone and if possible, take backup) and there you go. If there is no physical damage, you should be able to charge your iPhone now. If this doesn’t work, you can use a can of compressed air.
This video explains many other ways to get your iPhone working using household items: