Feedback loop help

Im getting a very strange thing happening on my iMac and I don’t know where its coming from. I monitor all sound through my UR22 but recently for some reason what ever sound source wether its cubase or you tube etc the sound goes into a loop for about 2 seconds and then stops and carries on as usual. Ive tried everything like making sure the output in the internal speakers are turned down but Im getting nowhere fast, Has anyone else experienced this?