Welcome to Android Central! Just to be sure -- you've gone to contacts.google.com on your computer browser and checked if your contacts synced there? This is why I always recommend to save your contacts to your Google account (which syncs automatically), rather than the local Phone account (which doesn't sync anywhere). You might also want to check your Samsung account, in case the contacts were synced there.
Similarly, go to your Google Photos in your computer browser and see if your photos may have synced there.
If you can't or won't use the cloud to sync your important data on a regular basis, then it's up to you to make sure that data is backed up somewhere else on a regular basis. Phones can fail (or otherwise have bad stuff happen to them), so if you only keep your important data on your phone without any backup, that's asking for trouble.
Please register on this forum, which will allow you to engage in discussion more easily, as well as post images.
https://forums.androidcentral.com/ask-question/409154-join-android-central-community.html