In cases where hemorrhoids are accompanied by infections and ulcers, the specialist may prescribe metronidazole (as an antibiotic) for the patient to control infractions. Since metronidazole can cause constipation, which is one of the risk factors for hemorrhoids, doctors are recommended not to prescribe this drug or prescribe it along with laxatives and an appropriate diet.