Hard Disk Delete Bad sector

Computer ma kitna time lagta ha , Hardware ka bad sector remove karna ma ?