If you dropped your phone into the water for a long time and feel like the phone has been damaged, you can try the rice bag method as mentioned above. Or else, you will have to visit a repair center to get it fixed.