That's a very good and challenging question for sure :D I've found personally, I just need to "do the work" and motivation follows. For me, this looks like setting up a pomodoro timer, turning off distractions, and working towards the goals I have in place. I've often found that working in one or two pomodoro's can set the trajectory for my daily motivation (i.e. I don't need to continue with the pomodoro timer after the first couple of rounds usually).
That's a very good and challenging question for sure :D I've found personally, I just need to "do the work" and motivation follows. For me, this looks like setting up a pomodoro timer, turning off distractions, and working towards the goals I have in place. I've often found that working in one or two pomodoro's can set the trajectory for my daily motivation (i.e. I don't need to continue with the pomodoro timer after the first couple of rounds usually).
This article by James Clear is a pretty good read on motivation also!