Flickering and noisey lights and shadows in Ue5

Whenever I switch global illumination settings to epic I get these issues. Whenever it’s medium it is completely fine. What could be causing this?