I suspect that if you gave a full description or more reasoned support, detailing some of the equipment and problems, there would be more interest in helping you to a solution.
But if these are normal USB or camera memory cards or flash drives, and they have been dropped or have been banged around a bit, they will likely never work again. Those are among the usual problems I usually find when they will not format.
But tell us more about them and how the problem presents.