There are some people who repaired screen faults by heating a screen above a stove, but as that is risky it’s better done only on ‘spare’ screens. See for instance Repairing an unresponsive touchscreen - the fire fix (⚠ dumb, slightly dangerous, will void your warranty, please don’t do this).
In your case it is probably best to let the phone dry for a while, maybe with the screen taken off (unscrewing it does not void warranty).