Having healthy gut flora — the trillions of bacteria housed in our intestines — could lower the risk of infection following knee and hip replacement surgeries, while an unhealthy intestinal flora may increase the risk of infection.