If your headphones have been exposed to moisture, the first step is to turn them off immediately if they're powered. Then, gently dry them with a soft cloth and place them in a container with a desiccant like silica gel or uncooked rice for 24-48 hours. Avoid using heat to dry them, as this can cause additional damage. After drying, if they still sound muffled, you may need to seek professional repair.