A 30-year-old pregnant woman at 18 weeks' gestation presents with fever, flank pain and dysuria. She is tachycardic with costovertebral angle tenderness on the right. Urine dipstick is positive for nitrites and leukocytes. What is the most appropriate management?