This process is called a clean install, which is ironic as there's nothing particularly clean about it: Microsoft has enshittified Windows Setup.
Windows install floppies and discs have gone the way of the dodo, but it still pays to keep a copy of the OS on a USB drive. Here's how to make your own.
Don't Throw Away Your Laptop: How to Install Windows 11 On Unsupported Hardware ...