A timely diagnosis and treatment can prevent life-threatening complications from arising. If a person is diagnosed with pyelonephritis, doctors may prescribe a sulfa drug for clearing off the infection. If you know that you're allergic to sulfa drugs, or get to know after beginning the course of medication, let your doctor know immediately. Since bacteria are the causal agents, kidney infection treatment would involve the employment of antibiotics. A broad-spectrum antibiotic would be prescribed initially until doctors are able to determine the causal bacteria through urine culture and blood culture. This would assist them in determining what are the most effective antibiotics for kidney infection in each case. Quinolones, Beta-lactam antibiotics, Trimethoprim and Co-Trimoxazole are a number of the antibiotics that are usually prescribed for treating a kidney infection.