We all procrastinate from time to time, but beating it isn't as easy as recognising that we do it. This video from the folks at ASAP Science does a great job of explaining the mental processes behind why we procrastinate (you may be procrastinating right now by reading about procrastination) and how you can use them to your advantage to get things done.
One of the basic reasons why we procrastinate so much is because doing small fun things now offers us a greater mental and emotional reward than doing something for which we know we'll be rewarded in the future — even if the reward in the future is bigger. We've discussed this idea before, the idea of "multiple selves," where your present self makes plans that your future self will have to wind up doing (so you have to find a way to plan things that your future self will actually do.)
Once you understand why we procrastinate, some of the best tips to beat procrastination are the easiest: reward yourself frequently and at regular intervals, and embrace a productivity system that encourages active periods and rewarding breaks, like the Pomodoro Technique.