Put it in a dry place for several days. Then try it to see if it works again.