I used the XL motor near water. Now it stopped working. Can someone tell me what I can do to fix it?
You may want to contact the LEGO customer service which will usually provide a replacement motor free of charge.
It seems encased. You can try to open it up, expect a short happened internally. Your best bet is to probably buy a new one. at 10$, it isn't so bad don`t you think?