The invention relates to a bedding for ungulate and other animals, consisting of dust- freed wood pellets or sawdust and nutrient medium for composting bacteria. The nutrient agent is based on the brown alga, preferably Ascophyllum nodosum. The bedding is supplemented with medicinal herbs selected from: lavender (Lavandula angustifolia), lavandin [Lavandula x intermedia), laurel (Laurus nobilis), marigold (Calendula officinalis) and Lemon balm (Mellisa officinalis). The patent further relates to the bedding composting procedure, and the use of the bedding as a preventive agent against lesions and pneumonia in animals in intensive farming.