Prevention of diseases in livestock