With version history , you can see and restore older versions of your files stored in OneDrive.
1. Open File Explorer and find the file under OneDrive folder.
2. Select the file, right-click and select Version History
3. Select the date/time that you want to restore, click More Options
4. If you want to check the contents of the version you were trying to restore, you can choose Download and view the version of the file. Once confirmed it is the correct version, you can then select Restore
https://competenz.freshservice.com/support/solutions/articles/5000081068