Does kidney infections prevent pregnancy

Le
I was sure this month was gonna be the month . As we were having a great time during my fertile week in Mexico . However on the way home I started to get deathly sick . A feeling I always recognize as I am prone to kidney infections . I waited a day and today I honestly couldn't bare it and had to get my boyfriend to bring me to the hospital . The doctor just informed me that I am not going home tonight . So I'm thinking if I was on the road to pregnancy , will this mess it up?