Sometimes despite all precautions dust/lint/dirt builds up in the physical ports of devices; for example, the USB-C port of the phone leading to it not charging.
Some suggestion I found say you can use cotton swabs/ toothpicks to (carefully) scrape out anything stuck, while others recommend compressed air only. This post even suggests highly concentrated alcohol is okay, though I doubt that I would get any liquid out effectively of a small port like Mini-USB, USB-C or Mini-HDMI.
What is the best way to go about it?