Foamy yellow urine should choose different drugs according to different situations, it may be caused by cystitis, urethritis, prostatitis diseases, need to use different drugs under the guidance of the doctor. 1. Cystitis: men with cystitis may have yellow urine symptoms, and may lead to foam during urination and painful urination, so it should be timely physical examination, you can choose to take oral moxifloxacin hydrochloride tablets and so on. 2. Urethritis: men usually do not pay attention to the body care, often sitting on the couch for a long time watching TV and playing games, the male prostate health will have a certain impact, may cause the symptoms of yellow urine, and even lead to the phenomenon of urine foam, do not pay attention to the sex life hygiene may be induced by the Urethritis, you can choose to choose the levofloxacin tablets. 3. Prostatitis: Once prostatitis occurs, it will cause frequent urination and urinary urgency and yellowish urine symptoms, and also lead to urinary pain and burning sensation of urination, you can choose to take oral levofloxacin tablets. In case of yellow and foamy urine, you need to use different medicines under the guidance of your doctor.