In my experience, the solution to this problem is good old-fashioned journaling. Sit down for a few minutes every morning and write down a few words about the change that you want to make and why. That way, every morning you have a chance to re-affirm the importance of this change, and hold yourself accountable for failing or procrastinating. If you're anything like me, as you attempt to change your habits you will fail repeatedly. Your journaling session is a dedicated session during which you can be honest about this failure, consider why you've failed, and to change your approach and to press on toward a better future.
To start, get out a journal (like, right now!), put it in a place where you can't miss it, and commit to writing a single sentence every single day. Don't beat yourself up about failing to execute on your target habit change on a given day, but do commit to never missing a single day of journaling.
If you can pick up the pen once per day, you can get it done.
Also, read Atomic Habits, which is an absolute must-read for folks who want to make changes in their lives.