Switch to a filter or gas mask before entering in the smoke. On a side note, mouth encumbrance, despite it showing an increase on your character menu (@ key), currently has no actual effect on your character so feel free to keep the filter mask on as long as you want.
As far as how to deal with the negative effects of inhaling smoke, I think it just goes away with time.