@Itlad_Lone01
YES -- Turn the laptop OFF -- and do NOT turn it back ON!!
Spilling liquid on a laptop is the second-most damaging thing you can do to it (first is dropping it on a hard floor).
Here are some tips on dealing with liquid damage: http://www.makeuseof.com/tag/you-just-spilled-water-or-coffee-on-your-laptop-heres-what-you-should-d...
However ... it's most likely that SOME damage was done, regardless of how quickly you turned off the laptop and what you did afterward. The key problems are only the surface and almost certainly, more damage was done than that.
The ONLY way to know for sure is to take or send it to an HP Service Center and pay a LOT of money for them to run full diagnostics on it, and after that, to disassemble it to repair or replace any damaged components.
And, if the motherboard is damaged, the cost of repair can easily exceed the cost of replacing the laptop -- because (as far as I know) liquid spill damage is NOT covered under the warranty.
Since you live in the U.S., here is a link to the HP Service Repair Centers:
https://www.service-center-locator.com/hp-hewlett-packard/hp-hewlett-packard-service-center.htm
Since you live outside the U.S., here is a link to HP Service Centers, by Country/Region: https://support.hp.com/in-en/service-center
If that link does not give you the information you need, here is the general support link:
https://support.hp.com/us-en/contact-hp?openCLC=true
***If my post helped, click the White
thumbs-up symbol to say thanks***
***Please mark
Accept As Solution if my post solved your problem***
I am a volunteer and I do not work for, nor represent, HP