Deleted files can be recovered in a number of ways. In some cases, you can use native Windows tools or system backups to get back your data. Data recovery software can also be used to search for deleted information and can locate files that cannot be retrieved through the use of basic Windows facilities.
When Windows deletes a file it usually goes to the Recycle Bin. Once it is removed from the bin or permanently deleted, logical references to the file are deleted but the data remains physically on the storage media. This fact enables data recovery software to recover permanently deleted files.
There are several ways to recover permanently deleted files from your PC, such as those described in this article, and you should choose the one that can deliver the best results with the least amount of effort.
In the vast majority of cases, data recovery software for PC like Disk Drill is the best choice because it combines the ability to recover permanently deleted files with a simple user interface that anyone can instantly figure out.
OneDrive has its own Recycle Bin to help you recover deleted files. Here's how to use it: