When a patient have a history of urinary tract infection and when the symptoms do not go away with treatment, a stronger antibiotic or longer treatment should be suggested.
You may ask for a urine culture and antibiogram (checking for the bacterial sensitiveness towards different antibiotics and choosing the most effective one).
Sometimes, people with chronic and recurring UTI's , have to take antibiotic in lower doses as prevention for longer period of 6 to 12 months.
There are some additional drugs that can be prescribed for UTI's symptoms, like Phenazopyridine hydrochloride (Pyridium) to reduce urgency and burning with urination and acidifying medications such as ascorbic acid to lower the concentration of bacteria in the urine.
See your physician!