How to fix my headphone jack on my lenovo laptop?

I spilled water accidentally on my laptop and now my laptop keeps thinking there's earphones plugged in when there isn't. How do I fix it?

Google it. Fix headphone jack not workingz

You need to remove the battery, dismantle the laptop, check for any corrosion that the spill may have caused, clean off the corrosion with alcohol, repair any damaged solder joints. In short take it to a tech, if you leave it you may find more damage as time goes on.