Really smelly urine and discharge

Could it be a uti and is that dangerous for baby? I also have lower back pain and it doesn't hurt to pee but the inside of my vagina hurts.