Kidney stones.

New here but need advise, me and my husband are on our first month of trying. We tried my third day of ovulating. After that it started to burn when I peed and I cramped bad on my right side with lower back pain. I’ve suffered from kidney stones before it’s just my luck I’d get another one after I’ve been so excited to try to start our new journey. Anyways long story short doc gave me antibiotics and told me to take azo for pain.. so I did then my friend told me if I would likely become pregnant the antibiotics would cause issues with baby or me!?!?