Antibiotics - it is the first course of treatment. The antibiotic prescribed by the doctor depends upon the type of bacteria causing the infection. If the class cannot be identified, a broad-spectrum antibiotic is in use.Hospital - in some cases, drugs are ineffective. In severe kidney infection, the doctor may suggest hospital admission. The length of the stay depends on the severity of the condition and the response to the treatment.Surgery - infection may be due to underlying conditions. Surgery may be an option to correct structural problems in the kidneys. Surgery may work to remove an abscess unresponsive to antibiotics.