Weaning is an important event in the development of mammals, involves a series of changes including physiology, nutrition and behavior (Guevarra et al., 2019;Waran et al., 2008). For example, there is a significant increase in gut pathogens when solid food is introduced after piglet weaned, which usually causes diarrhea in piglets (Li, Guo, et al., 2018). Horses have altered sleep patterns after weaning, increased glucocorticoid levels, decreased weight and performance, and increased risk of infectious diseases (Mach et al., 2017). After