How do I recover a file I accidentally deleted?

First, navigate to where the file was saved: if the file was located in a folder, right-click on the folder, and select ‘Restore Previous Versions.’ Choose a time nearest to when the file was accidently deleted. Click on restore and close the window after it says your files are successfully restored. Your file should be back in its original location.