If the charging port has water in it, it is important to dry it out as soon as possible to prevent damage. Here are some steps you can take:
1. Turn off the device immediately to prevent any short circuits.
2. Use a dry cloth or paper towel to carefully wipe away any visible water from the charging port.
3. If there is still water inside the port, you can try using a can of compressed air to blow out the water.
4. You can also try using a hairdryer on a low, cool setting to help evaporate any remaining moisture. Be careful not to use high heat as it may damage the device.
5. Let the device sit in a dry area for a few hours to ensure all the water has evaporated before attempting to charge it again.
If after following these steps the charging port still does not work, it may be best to contact a professional for further assistance.