The Recycle Bin and the Undo function in Windows Explorer are good basic features to help if you delete a file by mistake and realize it right away. There are many instances, though, when Windows will delete a file that you can't get back using its tools:
Recuva can recover many files in this situation, as long as the contents of the files have not been overwritten by other files.