You have become a heavy smoker, so it seems you have to have a strong desire and confidence to stop doing that. I think apart from the factors within yourself, external factors are also very important, the support of your closest friends and family for example