IPhone got wet and home screen button/voice control not working?

I was actually using hand sanitizer and it got into the charging opening of the iPhone. I thought I dried it out but now the home button does not work and every other time, the voice control randomly pops up. I tried putting the iPhone in rice to remove the moisture but only for a few hours (two hours at least). Should I try for 24 hours? Any other suggestions? Will apple store help repair this issue without erasing my pictures, videos or texts from my phone?

Possible the flex ribbon got damaged? It is easy to replace the home button