Hi sunny shah,
As Erland said, restoring backups is always the best practice to recover faulty files. Alternatively, you can download some trusted software to remove ransomware and related malware from your computer. Since I haven't used one, I wouldn't recommend it. INTEGO seems to be a trustworthy software. You can do some research before using it.
Best regards,
Seeya
If the answer is the right solution, please click "Accept Answer" and kindly upvote it. If you have extra questions about this answer, please click "Comment".