Irrelevance, boredom, and procrastination can be solved with one trick that i do. They can be broken by forcing yourself not to indulge until it becomes second nature.If they cannot be resisted than find a productive way to indulge them, like working for 5 minutes then watch a 2 minutes of a show or video.