I once dropped my Iphone could literally see water bubbles on my screen as tap on them because my phone was switched on. I quickly switched it off and kept it in Tight Air lock Rice bag for about 24 hours, after 24hrs my phone was working same as before. There was a bit problem in lock button but after a day it was working fine too.
I strongly recommend you to switch the phone off, and kept it in Tight Air lock Rice bag for about 24 hours, and hope it work fine after that.
you can rush to an iPhone repair, and make a big hole in your pocket.