To break a bad habit you need to decide you don’t want to have that habit anymore. Promise yourself a reward if you can break the habit. For every cigarette you don’t smoke, throw a quarter in a jar. For every nail you don’t bite you can promise yourself a manicure when they’re fully grown. It’s all about changing your attitude.