Nothing's more frustrating than realizing you need that file you just deleted. Hopefully it's still hanging around in the Recycle Bin, but what if you emptied that, too? All is not lost if you act fast enough.
When a file is deleted, it doesn't disappear. The data hangs around hidden until another file overwrites it. Learn how permanently erase files you don't want recovered.
Fortunately, a program like Recuva can get deleted files back.
Recuva scan hard drives, flash drives, memory cards and iPods for deleted photos, emails, videos and other documents. It then gives you a list of what it finds along with the condition of each file, i.e. how much of the file has been overwritten.
Select the files you want back and click the Recover button, then choose where to save the files. I recommend saving somewhere other than the drive you're recovering from. That way you don't risk further overwriting the file you're trying to save.
The recovery process can take a while, and isn't always successful, but it's always worth a shot to save your important information. Of course, you could sidestep the whole problem if you back up your files.