Uti and ttc

On cd 3 and just been diagnosed with a UTI. Was prescribed nitrofurantoin but I am also taking prenatal vitamins. Can I take both at the same time? Will the prenatals affect the antibiotics?