The smelly urine can be due to kidney stones, infection of bladder and urinary tract infection. It can also be due to use of vitamin B 6 supplements and due to diabetes. If the smell is like rotten egg or fishy along with discharge then it can be trichomonial infection. I advise you to visit a doctor for differential diagnosis and proper treatment. For more details, visit Smelly urine.