You may have pain when peeing, discomfort near your kidneys, and thick white discharge in your urine. These are signs of a urinary tract infection (UTI) or a kidney infection caused by bacteria entering the urinary tract. Drinking plenty of water, taking antibiotics prescribed by a doctor, and resting can help improve your condition. However, it is essential to visit a nephrologist for a proper diagnosis and the right treatment.