UTI while pregnant

Valentina
Today I called my doctor about pain i was having and she said go to labor and delivery asap so I did test were done and they thought I was going into labor just to find out it was a UTI that happened to spread over night and it was giving false labor signs. Has anybody else had a UTI while pregnant that can kinda ease my mind.