Boredom is the key to solving this problem. Exert control over yourself, do not let yourself do anything other than the task. No watching videos, no reading of either web sites or books, no checking the phone, no listening to music. Nothing. Eventually the original task will be a pleasant relief. Basically you're increasing your interest in the activity relative to other tasks rather than trying to increase intrinsic interest in the task.
About as helpful as telling a drug addict to just stop using drugs, ez pz
This doesn't work for me. As a child, my parents put me in a room with nothing but my math homework. I would preferably (and did) stare at the wall for 3 hours to doing my math homework.