Step 1: Identify the bad habit 

Step 2: Work to improve it, some steps to improve are given below: 

1)Take small steps, start by achieving small goals 

2)Reward yourself for achieving something 

3) Avoid your habit for short intervals and it will be gone