How do animals treat themselves?

Do you remember Dr. Dolittle? He understood the language of animals and successfully treated them. But this is a fairy tale. Really, animals have to heal themselves. How do they do it? It is known that the vast majority of animals are treated with various medicinal plants. Experiments show that the ability to find the necessary plants for treatment is laid in animals at the level of instincts, but they do not distinguish between herbs and other healing substances in appearance but feel subtly what is right for them. These skills are also kept by pets.