And now we get to how you should dry your phone, and the answer is very simple: the liquid absorbing power of rice. Use a big bowl or a bag and place the phone without its cover and battery inside. Fill the bowl with enough rice to completely cover the phone from all sides, simple white rice works best. Don’t be scrimpy, you need to have a good amount of rice around the phone to absorb all of the moisture.
The ideal time to leave your phone like this may change depending on how wet it got. The safest thing is to leave it in the rice overnight but in some cases even six hours will do. When you take the phone out gently clean it with a soft brush or a vacuum clear, put all the parts back together and turn it on.
While it might not always work if your phone was too wet, or was in the water for too long, it's still the best and safest way to dry it. Be sure to open the case from time to time after you get it working again to check for any possible corrosion. If your phone still doesn’t work go to a repair lab and hope that the electronic parts that were damaged can be replaced.