Steps to follow:
Back up your data.
Download the Windows 11 Media Creation Tool from Microsoft's website.
Run the tool and create a bootable USB drive or ISO file.
Change the Boot order in the BIOS and restart your computer and boot from the USB drive.
Follow the on-screen instructions.
When prompted, choose "Custom: Install Windows only (advanced)".
Delete all existing partitions and create a new one for the installation.
Once installation complete, Activate Windows.
Install your necessary applications.
Copy your backed-up data back to your computer.