I don't have a great answer for that, as it's still something I occasionally struggle with. I try to pick work where I can closely collaborate with another person. It sounds silly and maybe a bit childish, but just knowing someone else will be happy/proud when I finish a task helps a lot.