Trouble Using VR with Unity

I am new to Unity, and I am attempting to make a simple VR project, but when I attempt to enable VR support on the XR settings it freezes the application and I have to force the application to close. Can anyone help with this problem?

Hi, I am figuring out the program as well. Did you go to the Package Manager and enable AR Foundation, AR Core and AR Kit?