Usually treated with broad spectrum antibiotics in the hope the specific bug will be knocked out. The same antibiotics can be given orally or by a drip, faster mode of action via a drip.
if dehydration was a predisposing factor to the UTI that may also be remedied by a drip.
not impossible to get on top off dehydration in care home setting but harder.