Any good ways on how to quit smoking?

I need good ways to help me quit smoking. Without buying useless crap. Cause i don’t have the money do buy it. I really need to know cause im sighing up for the US Army. And i know for sure that they are gonna make me run for miles. And i don’t wanna be the one on the ground catching my breath every now and then.

How many times did it take you to actually quit smoking?

I quit smoking again a month ago. I had started up again after quitting for six months!! I couldnt believe I started again! Has this happened to other smokers too? Can I expect to quit for good now? Oh, and I have gone cold turkey each time, none of that substituting substances crap.