To install a new operating system on a PC without an operating system, follow these steps:
Choose an operating system (e.g., Windows or Linux).
Download the operating system as an ISO file and save it to a USB drive to create a bootable USB drive. For Windows, use the "Windows Media Creation Tool."
Restart your PC and press a key (often F2, F10, or DEL) to enter the BIOS or UEFI. Change the setting to boot from your USB drive.
Follow the on-screen installation instructions. Choose where the operating system should be installed and provide necessary information.
Complete the installation and restart the PC. Remove the USB drive so the PC boots with the new operating system.
Now, the new operating system is installed and ready for setup.