To manage constipation and diarrhea, focus on a balanced diet that includes plenty of fiber-rich foods like whole grains, fruits, and vegetables, probiotic-rich foods like yogurt and kefir, and healthy fats like avocado and nuts, while staying hydrated with plenty of water and limiting or avoiding processed and sugary foods, dairy products, and foods high in
sugar, salt, and unhealthy fats.