Question: how to get my icloud photos back?
Answer: On your Mac, go to System Preferences > Apple ID. Click iCloud in the sidebar, then select Photos. If you have an earlier version of macOS, go to System Preferences > iCloud. Click Options next to Photos, then select iCloud Photos.