If the icon doesn't show (where?) probably the drive is disabled in the BIOS, has no power or is broken.

- What does Device Manager say?
- Does an external drive work?

Most likely replacing the drive is the way to go. But in the more improbable case it is a setting in Windows that won't help. Then a clean install of the OS might be the easiest solution.

Before buying a new drive, try an old one that works in another PC. That's what a repair shop would do. They have a supply of working spares for testing.