Depends what it is. If it's something creative, this can become pretty much like writer's block. Ie. you know there's something you want or need to write, but it's such a huge task, it's hard to get down to it. This can lead to overindulgence in research and distractions.
One solution is to set yourself a goal to just do this one thing, to get started, and do that thing. No matter how bad, just make that draft, POC, whatever. Start breaking up things into smaller pieces, and set yourself to accomplish one piece at the time, no matter the state of results. Iterate on this to improve quality and scope, and keep your focus on the smaller, managable things, while getting more clear about the whole over time. If something is too much, just break it up.
Another take is how to manage your expectations and associations. If every time you visit the dog is to give it medicine, it'll become suspicious of you. So every time you visit your projects, make sure to leave room for some cuddle time, while making sure it's also supporting progress on that same thing. For very difficult goals, transform it into a spike and celebrate it no matter what the results. No matter what, you learned something new. You want to associate with progress.