Put it in the fridge, or a box of rice. Typically it will remove the moisture.
Warning: I have done neither because anytime I’ve gone into the water with my phone it was hosed. So I do not stand behind these if any rice damage occurs, or if your phone comes out with neons and stickers all over it, I am not at fault.