You can Try resetting the SMC https://support.apple.com/en-us/HT201295
Liquid and electronics do not mix
If you have AppleCare+ it will cover a large portion of accidental damage.
https://www.apple.com/support/products/mac.html
AppleCare+ (similar for iPhone and iPad, each incident of accidental damage) for Mac will carry its own price tag. Screen damage or “external enclosure damage” will run $99 per incident, while other damage, including water damage, will run $299. Users receive coverage of two incidents under AppleCare+, and after the two incidents have been used up, out-of-warranty replacement rates will apply
In or out of warranty you can get a free over the counter 'Apple Service Diagnostics' test /assessment
Make an appointment for a "hardware issue"—
https://www.apple.com/retail/geniusbar/
Outside the USA
https://locate.apple.com/country
From iOS device using the app to make a online Genius Bar appointment is easy:
https://itunes.apple.com/us/app/apple-support/id1130498044?mt=8
(note: due to the temporary closure of Apple Stores and the staggered reopening there may be some delays.
ref: https://www.apple.com/shop/browse/store/temporary_closures )
Call (800) MY–APPLE (800–692–7753)
or on line https://getsupport.apple.com/
or call AppleCare Support at 1-800-APLCARE.