If the video on the display is showing a problem, it means the liquid has gotten behind the glass and is affecting the internal panel.... then there is nothing you can do except to have the laptop repaired.
If liquid got into any of the USB-C ports (or other ports), or inside the laptop and touches any electronics, then you will usually end up with a problem at some point in the future as corrosion develops on the electronic & metal components.
You will most likely need to have the laptop repaired. Have Apple or an Apple Authorized Service Provider to examine the laptop to provide you with a repair estimate.