First line of defence is your skin. Skin forms a waterproof barrier that prevents pathogens from entering the body. Your body cavities, such as the nose and mouth, are lined with mucous membranes. Mucous membranes produce sticky mucus which can trap bacteria and other pathogens.irst line of defence is your skin. Skin forms a waterproof barrier that prevents pathogens from entering the body. Your body cavities, such as the nose and mouth, are lined with mucous membranes. Mucous membranes produce sticky mucus which can trap bacteria and other pathogens.