Whatever you're doing right now, you're doing because you felt you really had nothing better to do.
If you don't like what you're doing right now, change your internal valuation system of what constitutes a better thing to do in this moment!
Change the valuation system and the action will change and stay changed. Trying to change the action will get you one or two successes and a relapse.
Change your values. That's what metanoia means. That's what repentance means. Not "feeling bad about yourself."
Change your values to the good-feeling values and feel good about yourself.
That's how you fuel the good actions: you feel good.