How do you encourage yourself to do the things you don't like but have to do?

你如何鼓励自己去做那些你不喜欢但不得不做的事情?