If you want to upgrade to Windows 11, I recommend checking your device for compatibility first using the PC Health Check app
https://aka.ms/GetPCHealthCheckApp
If your device meets and passes all the requirements, I recommend using the Windows 11 Installation assistant to upgrade to Windows 11 manually.
https://www.microsoft.com/software-download/windows11
Note: It's always a good practice to backup your important files first before performing any Windows upgrade or reinstallation.