It's not easy nor very pleasant but I smoke while working in my shop sometimes. If you're indoors it's no problem, smoke goes one way and you breathe air in from the other. Sometimes I hold my breath for a few seconds or I tilt the stogie upwards so I can breathe fresh air. Also, holding it by the corner of your mouth pointing away from your face allows you to get some nice fresh puffs of air in a pinch. You can breathe through the side of your mouth instead of your nose, sometimes that works too since smoke coming off the foot goes straight up. So yeah, I can pull off the Clint Eastwood look if only temporarily.
Sometimes I'll inadvertently inhale a little and it goes to my head for a bit. No problem, just set the smoke down for a few minutes and if I have to relight, so be it.