Factors affecting susceptibility to infection