If your laptop is currently plugged into a power source, unplug it as soon as possible. Rather than trying to move all the way to the socket, simply take off the charger’s wire from your laptop. Moreover, grab an absorbent cloth (probably a towel or a tissue paper) and dry up all the visible water on top of your laptop.
Do not close the laptop’s lid. In fact, turn the laptop upside down so that you can drain out as much water from the keyboard as possible.
During the time you are shaking your laptop to take out water from the keyboard, slide your hand behind the laptop in order to take out the battery. This will cut down all sorts of power supply to your laptop.
Now it’s time for you to take out a blow dryer in order to dry up everything in your laptop. Try to be patient while drying up your laptop as it may take a lot of time.
Place the laptop upside down and the battery on top of a heating vent. Keep these two things rested this way for at least a week. You wouldn’t want to plug in your laptop even with a drop of water inside it.
After one week has passed, reassemble your laptop. Make sure that every part of your laptop is dry. Most of the time electronic things start working once they have been dried out. Try to open your laptop to check whether it is working or not.