Urinary urgency and frequent urinary pain may be caused by prostatitis, prostate hyperplasia, urethritis and other diseases, need to choose the appropriate drugs according to the situation, such as antibiotics, α-blockers, M receptor antagonists, etc.. 1. Prostatitis: If you have acute bacterial prostatitis, you can take antibiotics as prescribed by your doctor, such as ofloxacin and ciprofloxacin. If it is chronic prostatitis, you need to use drugs according to the results of bacterial culture, commonly used drugs are levofloxacin, azithromycin, doxycycline and so on. 2. Prostatic hyperplasia: For patients with prostatic hyperplasia leading to urinary urgency and urinary frequency and pain, they can take alpha-blockers such as doxazosin and terazosin. You can also take M-receptor antagonists, such as tolterodine and oxybutynin. 3. Urethritis: If the urgency and frequency of urinary pain caused by urethritis, for gonococcal urethritis, you can take ceftriaxone, macrolide and other drugs under the guidance of the doctor. If it is non-gonococcal urethritis, you can take oral azithromycin, metronidazole and other medications as prescribed by the doctor. The above drugs should be used under the guidance of a doctor, leading to urinary urgency and frequent urinary pain of more reasons, need different treatment methods. It is recommended that patients go to regular hospitals for treatment, and strive for early recovery.