Moisture can permanently damage your charging port. If you've tried the methods above and your phone still throws error codes when you plug it in or doesn't charge at all, the damage is likely severe. You can continue trying to dry it out or call Apple Support for more help.