infection of the gums

If you smoke, you have to give up. There is no middle ground.
Nourishment, once again, is the solution, especially if you have an acute infection. Giving up sugar. Sugar feeds fungal and bacterial infections.