You might need to avoid some substances if you have eczema, including chemicals, solvents, soaps, detergents, scents, components in skin care products, some fabrics, and smoke. To determine whether the goods you use or are exposed to may be causing an allergic skin reaction, your healthcare professional may advise performing a particular patch test.