How to recover data from water damage iPhone?

My iPhone had a water damage by accident, could you tell me how to solve this problem and how to recover data in this situation.
How to prevent water damage?
Turn off your iPhone immediately
In case you accidentally dropped your iPhone in water, you should get it out of water and turn off it immediately. Keep the iPhone in off state before it has dried out. You are mustn’t to use hair-dryer to dry out it for overheating will damaged the iPhone. But you can dry off the iPhone with a towel or immerse it in rice. Leave a few days to dry it out. If you do not rest assured, you can take it to an professional apple repair store.
During this time you wait for the iPhone to dry out by itself, if you want to use your data on iPhone, you can restore data from your backup.
Restore data from iCloud or iTunes
If you have backed up your iPhone data to iCloud account, you can restore your data on other iOS devices. Also, you can restore from your iTunes backup. The iTunes backup is stored on your computer. You can use the data recovery software to scan the backup and then extract your data from backup.
First, download H Data iPhone recovery software on your computer which stores the iTunes backup you need. Launch this program to come to the software interface.
Second, choose “View and Restore files from iTunes backups”. It will detect your iTunes backups on this computer. If you do not find the backup you need, you can click “Browse For iTunes Backups” to choose the backup on your computer.
Third, click “SCAN” button to scan the iTunes backup you choose.
Fourth, after scan, you are able to preview all the data. Click each file type to check if the data you need is in the list.
Fifth, tick all the data you need and click the “Export Selected records”. The software will export the files you choose to your computer. As long as the data are displayed on the software, you can 100% export them. If your files are not displayed here, you have no way to recover them.
In a word, when you drop your iPhone into water, you should try your best to lower the damage. And back up your iPhone regularly is necessary. You will be glad you did after you iPhone is lost or damaged as you cannot hope you can restore from your iPhone every time.