Hi,
Did you purchase Windows 11 Pro from the Microsoft Store?
If yes, the license is usually tied to the Microsoft account used for the purchase. Sign in to that Microsoft account on your computer and make sure you have a stable internet connection to activate the license.
If you received a product key, go to Settings > System > Activation > Change product key, then enter your 25-character product key to upgrade to Windows 11 Pro.