Thanks for the query.
Cloudy and foul smelling urine could indicate a Urinary tract infection
You should do urine analysis and urine culture and an ultrasound
of the kidneys and bladder.
See a physician with these test results and he/she can prescribe you appropriate antibiotics if there are signs of infection.
Mean while keep yourself well hydrated.
Hope this helps.