Have in mind what you want to achieve. I mean the end result of your work and tell yourself that there is no other way to bring this imagination to reality but to get up and start working on it. You may even want to be around people who do the same work as you do. Because staying around them during your work hours will most likely motivate you to work.