Barrier creams work by forming a protective layer on the skin's surface. This layer helps to keep moisture in and irritants out, thereby maintaining the skin's integrity. Common active ingredients in these creams include zinc oxide, petrolatum, and dimethicone. These substances create a physical barrier that helps to prevent the breakdown of the skin.