If you have a backup of your data, you can restore it to a new phone. However, if you do not have a backup, it may be difficult to recover data from a water damaged phone.