Weed?

I smoked before but I stopped. I haven’t smoked over 6 months. I don’t wanna cough so how do I not cough when smoking?