When is the last time that you backed up your phone?
Right now is a good time to get er done.
How to back up an iphone
https://support.apple.com/en-us/HT203977
How to back up an Android
https://www.pcworld.com/article/248984/how-to-back-up-your-android-phone.html