All habits have four elements:
Using the example of procrastinating with social media, that bad habit can operate like this:
In this way, bad habits become a self-reinforcing system that can be difficult to break.
To eliminate bad habits, identify the cue, desire, action and reward that make up the habit. Then attack each element of the bad habit by taking the following steps: