Antibiotics are generally recommended by doctors for bacterial infections While fighting the infectious bacteria  antibiotics kill the good bacteria present in the intestine as well  which results in diarrhea As antibiotics kill the good bacteria  it disrupts the balance of the intestine and increases the bad bacteria resistant to antibiotics