Breast-fed babies have loose stools. There is foam because the carbohydrate content in breast milk is too high. You can check your stool routine in the hospital. If there are no pus cells, don't worry. Pay attention to keep your baby warm, especially when you can't keep your stomach cold. If breast-feeding, mother's diet should be reasonable, and she should not eat too greasy food.
If you are a baby who eats milk powder, you must pay attention to hygiene. Disinfect the bottle nipple in time. And be careful not to change the brand of milk powder frequently.