How do I quit smoking cigarettes?

I am almost 29 years old and have been smoking since I was 12 years old. I have anxiety and depression and have always thought of smoking as a source of comfort. I am starting to have health problems from it now and really need to quit. Any tips about quitting? Preferably from someone who is an ex-smoker. Thank you.