Thanks for your query.
is one of the first line drugs for hyperthyroidism
In 1% of patients it can cause a drop in WBC count
which can predispose them to infections.
So as your doctor as rightly suggested, you should visit him asap and test your WBC count in the blood.
A course of antibiotics is also essential to treat UTI.