Best is to wait for the ear buds to dry before plugging them in. Artificial drying agent also can help such as rice, silicon gel and etc/
Try for awhile and if the problem persist and your warranty is still valid then ti gong and beg the service centre for help.
Else, buy new ones~ as it might cost more to repair the damaged set~