The Operating system (Windows) lives on the hard disk. You bought a new hard drive. When the computer looked for the operating system (windows) on the hard drive it could not find it.
You will need to install an operating system on your PC. A copy of windows costs $100. Depending on how good your new computer is you may be better off returning it and getting a computer with the operating system installed.