Switch it off immediately, unplug the charger and, if possible, remove the battery. Don’t switch it on to check whether it still works, don’t charge it, and don’t use a hairdryer or a bag of rice.
Turn the laptop upside down to drain and bring it to Waterford Computer Clinic as soon as you can. Liquid starts corroding the motherboard within days, so the sooner it’s cleaned, the better the chance of saving the laptop and your files.