That depend on which build you have installed?
If you have Dev build 23xxx or Canary build 26xxx and you have use these builds more than 10 days you have to do clean install of public released version. Windows 11 Clean Installation (microsoft.com)
On other cases you can kick your device out of Insider peogram by deleting WindowsSelfHost key from registry.
- Open open regedit (push Win key and type regedit).
- Navigate to HKEY_LOCAL_MACHINE\SOFTWARE\Microsoft\WindowsSelfHost
- On left panel right click that key and delete it.
- Close regedit and restart. (That key will be recreated with corrected setting.)
5) If you have Beta build 22635.xxx then go to Windows Updare / Update history and uninstall 23H2 enablement package KB5027397.