Unplug your laptop and turn it off immediately.
Remove any detachable parts, such as the battery (if possible), external drives, and peripherals.
Tilt the laptop to let the water drain out and dab the excess water with a dry cloth.
Avoid using rice to dry out your laptop, as the particles can cause further damage.
Bring your laptop to a professional repair service like My Computer Tech as soon as possible to prevent corrosion and electrical shorts.