It is woefully underappreciated how effective making something easy to do will cause people to do it more - and making something more difficult will make them do it less. You can use this with yourself to enable new habits to form. Alternatively, if you make bad habits more difficult, you'll do them less.
Make bad habits harder
Make good habits easier
There are some pretty sure fire ways to make good habits inevitable and bad ones impossible. Watch too much TV? Throw out your TV. Have your spouse change your social media password on Monday, and not give it to you until Friday night. Set up an account to automatically round-up all purchases to the nearest dollar and invest the change.