This drug is used to treat bacterial infections. If you take this medication while using birth control pills, it decreases the hormone levels in your birth control pills. This decrease in hormone levels can affect whether ovulation is prevented.