It’s takes processes, systemization and at the end of the day: discipline. Someone else said it here, but I fully agree, you have to be willing to sacrifice other things.
I don’t watch TV, ever. I don’t stay up past 9pm (except veeery rarely) I wake up early and get my most important stuff done before noon.
Oh and I just fail a lot. But that’s part of the process. I try to build consistency and just like we do with software I try to figure out why something failed and I make adjustments. Like my own little mini-postmortems.
If you really want tactical advice, I write notes daily. I use reflect.app and I have an end of day ritual where I write down anything that sticks out as unique or interesting about my day. Then I write about 3 things I’m actively trying to accomplish and what I’ll do to make those happen tomorrow. Then I’ll write 3 things I’m grateful for. Last I’ll write one thing that’s stressing me and out then I’ll reframe it in a positive light and finally I’ll write down how my best version of myself would handle that particular issue.
Writing really helps me slow down and make sure I’m doing the right things and helps me recognize when to stop doing the wrong things.
[Full disclosure I work mostly with devs but am not one myself]
I go run about 10 miles around 4:30 to be done by the time kids need to wake for school. To make that happen, I go to bed before 9:00 every night. It doesn't leave very much time for other activities but I can't say my life was improved by wasting time on personal projects or watching TV.