UTI & symptoms

My routine blood work back from my OB. Got a call saying I have a UTI but I don't have any symptoms. I've had them maybe twice before and it was terrible it burned when I peed and I always felt like I had to keep peeing even when I was done. Anybody had a UTI with no symptoms? I was prescribed some medication. I looked it up and it appears to be pregnacy class A whereas a UTI can cause some issues so I'm taking it even though I have no symptoms.