Have you suffered from an accidental format of your hard drive? Well I give you a magical wand that can get your all data back. But it is possible if you have not added any new content over the hard disk. Because if you have written some content on the disk then you will not be able to recover 100% data back.
To recover back the data you need to install computer data recovery software on some other hard disk and run the file recovery wizard. After that you can choose the option to recover all the files that you deleted. The wizard will recover all the files that you lost during the formatting. Also if you want to skip some file from recovering you can also do that by manually selecting the list of files that you want to be recovered.
You can also recover data from USB drive using the USB recovery tool. This can be very useful if your USB drive got some virus and you want to format it without loosing the content from the drive. But the best and safest way is to always keep a backup of the system so that in time of such emergency you can easily get the backup copy of the data onto the computer. And if you miss any file you can just use the data recovery tool to recover deleted files.