The skin is a waterproof layer that prevents most pathogens from entering the body. If the skin is damaged, the wound is sealed quickly by a scab forming.
How do the trachea/bronchi prevent pathogens entering?
They have sticky mucus that traps airborne pathogens, and also the cells lining these airways have cilia that waft the mucus up to the throat to be swallowed.