Turn on / off the device 2 or 3 times at the first logo to access repair or reset options.
There you can try safe mode or startup repair, see if that helps you get back to the desktop.
This instrucctions apply to Windows 11 as well
How to Use the Advanced Startup Options to Fix Your Windows 8 or 10 PC