Treating a kidney infection involves consulting with a doctor for antibiotics, staying hydrated, and managing pain.