I live by checklists and timers since i am so easily distracted. I set up a ton of small items to-do and the use a timer to stay on track.
I did this enough that I eventually made a tiny Mac OS desktop app to help me. It’s so basic, but my productivity is meaningfully higher.
I hate promoting my stuff, but this might be helpful for others too: https://pomododo-app.com/