If water/liquid enters your mobile phone, it is recommended that you do not try to turn it on to prevent internal components from being damaged due to internal short circuit of the machine (if the battery of the machine is detachable, it is recommended to take it out).
I suggest you take the machine to the local after-sales service center, and the engineer will help you test it. The specific cost is subject to the test results of the service center.