Apple does not service water-damaged iPhones. Although users with Applecare+ have the option of replacing their device. This would be of bearable cost relative to the cost it would take to repair the hardware damages. If you are not covered by this program, you can consider third-party iPhone repair tools & services near you. Make sure to look for trusted ones.