Hello,
Odor in urine can be due to diet like coffee or asparagus, infection like bladder, prostate or urinary tract, dehydration or diabetes. You should visit your doctor for a urine examination and evaluation to find out the exact cause and treatment for the foul smell.
I sincerely hope that helps. Take care.
infection of the urinary tract