Yes, only when you have developed resistance to certain antibiotics and they do not serve as effectively as you expect them to for your condition. In such scenarios, you need to get the diagnostics again with the doctor and change antibiotic prescriptions to treat your UTI effectively.