If you have a disc or flash drive with an OS, put it into the appropriate drive, boot up, and you can install the OS.
If you have a disc or flash drive with an OS, put it into the appropriate drive, boot up, and you can install the OS. Congratulations, you've now built your own PC!