Basically by reconnecting with your auxiliary function. In a loop, the main two functions are the dominant and the tertiary which are of the same orientation (introversion/extroversion). This creates an imbalance. External/internal impulses from the auxiliary which normally would keep the dominant function in check are ignored, instead it is reinforced by the tertiary which pulls in the same direction as the dominant one.
The crazy thing is, often loops are regarded as positive by people who are stuck in it. For introverted types, their personal perception fits their personal value/logic framework and they don't allow external impulses to maybe disprove their conclusions or give new perspectives. They lose their connection to the world, while extroverted types lose their connection to themselves. They overindulge in external stimulation and thrive on external validation. Both can be rewarding for the looping person, in a certain way, so recognizing that something's wrong and deciding that something has to be done about it can be difficult, and more difficult still to find out what has to be done, how to reanimate the auxiliary and put the tertiary back in its place. This is of course different for every type, and there can be individual differences, too, so I can't really give real life examples. I guess, try and see what works.