If you are installing a 2.5-inch laptop HDD into a desktop, you will need a 2.5-to-3.5-inch mounting adapter or bracket.
Enter the BIOS/UEFI (usually by pressing during startup) to confirm the new drive is detected. You should see it listed under storage devices.