Try drying your phone where the sun shines but not too much light and leave it for 5 days. Don’t try opening or restarting your phone until 5 days drying. Make sure no one disturbs it. Also remove the back case of your phone and Sim Card ( If you have some) before drying it out. Hope this would be helpful.