Set goals and go about pursuing them. It requires discipline but once you surpass the initial blocks it becomes second nature. Also, don't forget of yourself. Do some form of physical activity and set some goals for that too. Rinse and repeat.
Audacious goals, on the other hand, are demotivating because there's too much chance of failure. If I hold myself to lifting certain weights, I may even end up getting injured. But now I'm happy simply showing up, doing what I have the capacity for, whether it's walking, stretching, or lifting. I can (and will) come back if I have an off day.
Scott Adams talks about something similar in Goals vs Systems[1]. A goal of writing a book is much harder to achieve than a goal of typing a little bit in the morning. Ironically, the latter may be the best route to the former...as long as you don't think about it too much :)
[1]: http://blog.dilbert.com/post/102964992706/goals-vs-systems