The treatment regimen is selected based on local resistance data and the susceptibility profile of the specific infecting organism(s).During the course of antibiotic treatment, serial white blood cell count and temperature are closely monitored. Typically, the intravenous antibiotics are continued until the person has no fever for at least 24 to 48 hours, then equivalent antibiotics by mouth can be given for a total of two–week duration of treatment. Intravenous fluids may be administered to compensate for the reduced oral intake, insensible losses (due to the raised temperature) and vasodilation and to optimize urine output. Percutaneous nephrostomy or ureteral stent placement may be indicated to relieve obstruction caused by a stone. Children with acute pyelonephritis can be treated effectively with oral antibiotics (cefixime, ceftibuten and amoxicillin/clavulanic acid) or with short courses (2 to 4 days) of intravenous therapy followed by oral therapy. If intravenous therapy is chosen, single daily dosing with aminoglycosides is safe and effective.Fosfomycin can be used as an efficacious treatment for both UTIs and complicated UTIs including acute pyelonephritis. The standard regimen for complicated UTIs is an oral 3g dose administered once every 48 or 72 hours for a total of 3 doses or a 6 grams every 8 hours for 7 days to 14 days when fosfomycin is given in IV form.Treatment of xanthogranulomatous pyelonephritis involves antibiotics as well as surgery. Removal of the kidney is the best surgical treatment in the overwhelming majority of cases, although polar resection (partial nephrectomy) has been effective for some people with localized disease.
Pyelonephritis  is inflammation of the kidney, typically due to a bacterial infection. Symptoms most often include fever and flank tenderness. Other symptoms may include nausea, burning with urination, and frequent urination. Complications may include pus around the kidney, sepsis, or kidney failure.It is typically due to a bacterial infection, most commonly Escherichia coli. Risk factors include sexual intercourse, prior urinary tract infections, diabetes, structural problems of the urinary tract, and spermicide use. The mechanism of infection is usually spread up the urinary tract. Less often infection occurs through the bloodstream. Diagnosis is typically based on symptoms and supported by urinalysis. If there is no improvement with treatment, medical imaging may be recommended.Pyelonephritis may be preventable by urination after sex and drinking sufficient fluids. Once present it is generally treated with antibiotics, such as ciprofloxacin or ceftriaxone. Those with severe disease may require treatment in hospital. In those with certain structural problems of the urinary tract or kidney stones, surgery may be required.Pyelonephritis affects about 1 to 2 per 1,000 women each year and just under 0.5 per 1,000 males. Young adult females are most often affected, followed by the very young and old. With treatment, outcomes are generally good in young adults. Among people over the age of 65 the risk of death is about 40%. Signs and symptoms
Signs and symptoms of acute pyelonephritis generally develop rapidly over a few hours or a day. It can cause high fever, pain on passing urine, and abdominal pain that radiates along the flank towards the back.