There is a faq on it, I believe, at
Main Page - BlackBerryFAQ
Basically, immediately remove the battery, sim card and media card (if installed) and set the phone in a warm place to dry for 3-5 days. Then put it all back together. Most likely it will work again. The big mistake is putting the battery back in prematurely because you're worried that it won't work again.