If water has entered the laptop, the first thing to do is to turn off the device and disconnect it from the power supply. If there are any wet parts, dry them with a cloth or paper towel. If possible, you should also remove the battery. You should then place it in a warm but not too hot place, for example near a sunny window or near a heating vent.
If your laptop has been submerged in water, you may need to take more drastic measures before you can try to turn it back on. To do this, open the laptop and use compressed air to blow out the liquid inside. If possible, remove all components inside, such as the RAM, hard disk and other parts. Place them in a bowl with uncooked rice and leave them for at least 24 hours. This will help absorb excess moisture.
Once you've done this, you can reassemble the laptop and switch it on. Make sure you have tested all the components before switching it on. If everything seems to be working properly, you can switch on the laptop and see if it is still working normally. If not, contact a specialist for further assistance.
Remember that prevention is always better than cure, so try to avoid spills near your laptop as much as possible! It is also a good idea to keep your laptop clean and regularly check the vents for dust or dirt build-up. This can help prevent any future damage. With proper care, your laptop should last for many years!