Urinary tract infection

Ka
Just went to urgent care today because I've been feeling so horrible. The doctor did a urine test to double (quadruple) check my home test and to test for dehydration. She came back and said I have a urinary tract infection. I've never had one before but she says they are common during pregnancy. Anyone else have this issue?