To recover data from iCloud, start by logging into iCloud.com using the Apple Account tied to your device. Look through the respective tabs to find your lost data, photos, or contact information. In case you accidentally deleted something from iCloud Drive, use the Recently Deleted tab to restore the required data. Before performing a full data restoration, check the backups of your device, as in the process of restoring your device to the previous state, some of the current information might be overwritten. When it comes to documents stored on Mac or Windows computers, you can use data recovery software to restore lost files.