Windows

Aslam o Alikum Friend 
mera name Muhammad Arfan hai or me ap ko aj btao ga k ap apne corrupt usb drive or SD Card ko easily thek kr sakte hai niche me ne screenshot dye hai ap un ko follow kr k apne kise b corrupt usb drive or SD card ko thek kr sakte hai

                                         1st step>> press windows key and R
2nd step>> type this command Diskpart


3rd step>> type this command List Disk
4th step>> type this command select disk (jo Number ap ki usb ya sd card ka list me ho wahi type krna hai jaise mera 1 hai agr ap ne 1 se zyada usb ya sd card connect kiye hai to ap apne usb ya sd card ki space se dekh le k kon sa number select krna hai)
5Th step>> type this command Clean
6Th step>> type this command Create partition primary


7th step>> type this command Active

8th step>> type this command  format fs=fat32

don't remove your usb or sd card during formating