Barrier cream works by creating a protective layer on the skinâs surface, which prevents irritants and moisture from causing damage. Most barrier creams contain ingredients like zinc oxide, petrolatum, or lanolin, which are known for their protective and healing properties.