- Download any defrag software, I can suggest one of them is Auslogics Disk Defrag
- Then you just have to fully defrag your external hard disk/ufd/flashdisk device
- Wait for it to finish and if there is a red sector, you need to repair it until everything is green indicating that the hard drive is good