A formulation, for administration to the teat canal or/and lower portion of teat cistern of a mammary gland of an animal, wherein the formulation prior to delivery is in the form of a paste, the formulation including: an oil-based physical barrier material which is able to form a cohesive mass in the teat canal and/or the lower portion of the teat cistern, and at least one antiseptic compound mixed with the barrier material.