UTI while pregnant!!!

Whitney
Holy crap, I'm 16 weeks 5 days pregnant and I went to the ER with terrible cramping and slight spotting. They diagnosed me with a UTI. They did an ultrasound and baby was doing great. They sent me off with an antibiotic. When the hell am I supposed to feel any relief. Just started the medication this morning. Has anyone else gone through this?