Getting water out of a charging port quickly is key to avoid damage. Gently shake the device with the port facing down and let it air dry. Avoid using a hairdryer or cotton swabs as they might push the water further in. If possible, leave it in a dry, cool place for a while. Have you had this happen before, or is it a first time? It's understandable to feel worried.