Respond differently
You try to go away from a bad habit. You try everything for some days, but you see yourself repeating the same pattern at the end of the day. Even if you hold it consciously, due to your own limitations you repeat the process.
So how do you remove it?
Step 1. Remove your limitations
And how do you break a pattern? Respond differently.
Go.