A 76-year-old resident of a care home develops confusion, agitation, and urinary incontinence over 2 days. She has a history of dementia but is now more confused than usual. A urine dipstick is positive for leucocytes and nitrites. Her temperature is 37.8°C. According to NICE NG109, what is the most appropriate course of action?