If your earphones got submerged in water, the key is to act quickly. First, remove any silicon or rubber parts that cover the speaker. Then slightly shake your earphones to physically remove any excess water and wipe them dry with a clean piece of cloth or a paper towel. You can also blow dry the speaker mesh with your mouth or using soft pressurised air. Avoid hitting your earphones on surfaces or drying them using heat since this is likely to cause further damage.