To quit smoking, you just need 1 thing: Will power!
You need to stay determined that you won't smoke. Try to replace smoking in your schedule with something healthy.
Read stories of people who have quit smoking, stay with people who don't smoke and believe that you are not giving anything up. It was a bad habit and be happy that you are not doing it anymore.