I have no sound on my iPhone?

Yesterday I dropped my phone in the toilet. I quickly got it out and the home screen and the buttons didn't work on the side. I put it in rice and now everything works except the volume. When I turned it on I had sound on the lock screen but I went to music and I had no option of changing the volume. Any help?

Press the button on the left side or volume up button or get it checked!