This article explains how to change the default browser in Windows 11. The instructions are the same regardless of which browser you want to use.
How to Set Google Chrome as Default Browser in Windows 11
You can choose your default browser in the Settings app:
Open the Start menu and select Settings. You can search for Settings if you don't see a link for it.
Select Apps from the left sidebar.