Immediately turn off the laptop, unplug it, and remove the battery if possible, then gently tilt the laptop to allow the liquid to drain out, before proceeding to carefully clean the keyboard with a solution of water and mild soap.