Keep it simple.

If you got your phone wet inside, or your Mac, you can ...

(1) pray it won't be affected, or at least will fix itself somehow;
(2)  embrace urban mythology and try drying your phone out with rice or, even worse, a blow dryer;
(3) or you can bring it to someone ASAP who can open it up and clean it and assess the damage

If you got your phone wet, or your Mac, the damage might already be done, because:

(a) the screen is very loving of water and once it gets inside, it usually makes a mess
(b)  the screen runs at a higher current than the rest of the phone, so if the screen is one when it gets wet (or you turn it on), that can mix different currents together and blow components like the backlight
(c) you waited too long and the water is gone, but all the minerals in the water are left behind to destroy the phone's micro-components (and in the meantime you've been charging the phone, or trying to, which only gives more power to accelerate the phone's demise).

A story ... 

The 2013 movie All is Lost stars Robert Redford, and in the movie there's a scene in which he needs to repair his boat's radio – his soaked boat radio.

The craft has capsized, he is the only one on board, and now he has no radio.

What does he do with his salt-water soaked radio?

Well he doesn't soak it in rice! That's for sure. Instead, he takes a bottle of drinking water and pours it all over the radio's internal components.

Why? Because it's not the H2O that's gonna kill your phone: the old man in the sea removes the salt-water with drinking water because the latter has less (destructive) minerals in it that will destroy the radio. In fact, water itself will not ruin his radio. But removing the water and leaving behind what's in it, is not the answer. You might get lucky, but for how long... ? You really want the phone to become a question mark?

Clean it and dry it and it might be none the worse for wear.

Sum up

Of course modern micro-electronics are more sensitive and as noted, screens hate water. Nevertheless, it's good to keep in mind that, when wet, time is of the essence
Get it dried out and cleaned up, knowing that corrosion from the liquid's minerals only takes minutes to begin, literally.