Help MY IPHONE SAYS HEADPHONES ARE IN?

About an hour ago I dropped Gatorade on our couch and my iphone was there, luckily it didn't do any damage but it says earphones are plugged in when they're really not i think it has water inside I tried putting a cotton swab in it and it still says headphones are in what do I do to so it doesn't say that the headphones are plugged in?

Put it in dry rice for two days then take it out this should work but if it doesn't go to the place where you bought it and they will look at it and maybe give you a refund