I worked on becoming disciplined in other areas as well. Things that, in the past I had given up on or lost interest in. I made discipline my second nature. I stopped avoiding and started welcoming responsibility. I took charge of my health, my diet, my fitness, my schedule, my working life and my married life. If you're the kind of person who tends to be generally undisciplined, reverse that paradigm and fight your nature! Check it. Motivation and Discipline all in one convenient package. Booyah.
I think the best thing is to find a productive hobby you're passionate about. Emphasis needs to be placed on the word productive, as while a great passion for video games might keep you from PMO, it's probably not going to put you in a better place. So it can be anything that's going to make you better as a person. Art, music, fitness, sports, volunteer groups, motorcycles, graphic design, woodworking, whatever. As long as you're interested in it and will allow you to improve yourself in some way, go for it. Sign up for classes, join groups, follow the relevant youtube channels, do as much self-study as possible, etc. As long as you're excited about it, the discipline will take care of itself. Besides that, there's standard discipline advice: Wake up early, never hit the snooze button, take cold showers, limit time on your devices to no more than 2 hours per day, when problems arise, solve them as quickly as possible instead of procrastinating, if there are no further steps you can take to solve a problem, choose to no longer dwell on it but to instead focus your attention on more productive matters. I'm sure there are lots of other good tips on discipline-oriented websites, so decide which tips are going to help you be more disciplined and implement them.
For me, I play basketball every Friday and go to Church every Sunday. Great way to keep myself focused on those days and they always kill my urges so the key as others have mentioned is to find things to keep yourself busy. Trying to add few more days of focused days then one or two days where I can just chill is my goal. It's not good idea to be busy all the time or do nothing all the time. The key is balance.
Dedicate 30 minutes to an hour a day working on your recovery. That may be reading about recovery methods, working a 12 step or other program, putting to practice techniques that you've been researching, etc. Set it up on your phone calendar as reserved time.