This happens to me all the time. The thing is, if you try to do your work while doing other stuff, you'll never do it in time. You have to set for example a couple of hours in the morning and a couple in the evening just for your work. During this time, turn off your TV, the music, TC and everything not work related on the internet and even your phone. Every time you see yourself trying to turn one of those things back on, just slap yourself and continue your work.