Two thoughts: At this point, it can't hurt to try the old trick of putting it in a sealed container of rice and hope it dries out. But if chlorinated pool water got inside your phone, nothing good can happen in the long run. Chlorine is corrosive.
Second, when will people understand this it NOT sold as a waterproof phone or underwater camera? It's water resistant only, water damage is not covered under the warranty, and it is most definitely not designed to survive use in swimming pools, the ocean, or other environments that contain corrosive chemicals (chlorine and salt, for example). Nowhere does Samsung encourage you to use the phone underwater. Water resistance is intended to protect the phone against accidental contact with fluids, or accidental dunking in water. There are truly waterproof cameras, and camera cases, available. A good waterproof camera case costs nearly as much as your phone.