The invention relates to a composition for the prevention or treatment of infections contracted by newborns of livestock mammals, said composition comprising a mixture of bacterial strains, and said composition being applied to the perineum and/or the teat(s).