Kidney infections????

(32 weeks pregnant) So I'm currently in the hospital for the second night in a row possibly might be here one more night. I woke up with severe lower back pain on my right side, fever, chills, and nausea. Never once did it hurt to pee or was constantly going, I did however have strong smelling urine. Came in to the ER and then to the labor and delivery turns out I was severely dehydrated, had a severe kidney infection and was having contractions (that they have stopped already) Any other moms who have gotten a kidney infections. I'd like to hear your story. And if you fully got over it.. I hear it's easy to get it back and worse!