The best option is to use a data recovery tool like Wondershare Recoverit to recover the formatted files and restore your drive. You can also use your data backup to get your files back.