Without knowing which chemicals you were using and more importantly, which caused the reaction, it's not easy to pick the right defense.

For example, acetic acid vapours are excellent respiratory irritants, but that can be remedied by switching to a different stop bath.