Hello Joulinz81
The best method is to create a bootable USB stick with Windows 11 on another computer. Microsoft offers the Mediacreation Tool for this purpose.
Then boot the PC from this USB, completely erase the hard drive and reinstall Windows. This is the only way to ensure a clean installation.
Gruss TomatoTec