What prevents an individual from allocating attention the way in which they intend? What strategies may be used to avoid distraction

What prevents an individual from allocating attention the way in which they intend? What strategies may be used to avoid distraction