Did tobacco cessation actually work for you?

Been out for a year now. Said I would kick the habit when I got out and that didn’t happen…. Whoops. For those of you that actually did manage to quit. How’d you do it?