If the USB pen drive indicates 0 bytes or prompts for formatting, the problem might not be physical damage to the device, such as the memory chips, but rather damage to the file system. First, connect the USB pen drive to the computer and open Disk Management. You can open Disk Management by clicking on the Start button, selecting Disk Management, and right-clicking on the Start button. If the repair USB pen drive appears, you can try to fix the problem. If the USB pen drive indicates a file system such as RAW, the partition might be damaged. However, before formatting the pen drive, you can try to run the Command Prompt as administrator and use the command chkdsk X: /f, where X represents the letter of the pen drive. If the pen drive appears on the computer but indicates 0 bytes, you can try to assign a letter to the pen drive.If the above commands fail to fix the problem, you can try to format the pen drive, provided that you do not need the information stored on the pen drive. In this case, you can right-click on the pen drive.