Windows
You plug in a flash drive (thumb drive) and nothing happens — no window, no sound, it does not show up anywhere. The drive is usually fine. Work through these in order.
Push the drive firmly all the way in. Try a different USB port — ports on the front of a desktop and on old hubs fail first; a port on the back or directly on a laptop is best. Restart the computer once with the drive plugged in. Try the drive in a second computer if you have one: if it appears there, your drive is fine and the first computer is the puzzle.
"You need to format the disk before you can use it" means the computer cannot read what's on it — it does not mean the files are gone. Formatting erases them. If the drive holds photos or papers that exist nowhere else, stop and get hands-on help first. If everything on it is copied elsewhere, formatting is safe and often fixes the drive.
A drive that no computer can see at all, that gets very hot, or that clicks, has likely failed for good. Flash drives are cheap and wear out — treat them as a way to carry copies, never as the only home for anything important.