Taking antibiotics should i still take bc

So I have a kidney infection should I even brother taking my BC and know taking it with meds cause it to be in effective.