1. First of all you need to download ’M3 data recovery software https://www.m3datarecovery.com/ on your PC.
2. Now connect your Pendrive to PC.
3. Run M3 data recovery software and click on the data recovery module.
4. Choose your Pendrive when the scan is finished.
5. Select the files you want to recover.
You are able to recover your data.