The first priority of recovering your deleted files successfully is to make sure that you act as soon as possible because this increases your chances of recovering files.
Solution 1: Check the recycling bin first because more than likely the file is just sitting there and you can just restore each file back to its original location.
Solution 2: Recovery software is another easy to use solution for getting back lost files and data. Just don't use any old recovery software, but use one that is known for being very accurate and reliable.
Prevention: Make sure that you back up your data and files regularly which in the long run will save a lot of stress, when something does happen.