For poor sperm quality caused by prostatitis, the treatment of prostatitis should be carried out first, as follows: 1, antibiotic treatment, can choose cefaclor, cefixime, amoxicillin clavulanate potassium, ceftriaxone sodium, levofloxacin, azithromycin and other drugs. 2, clear heat, dampness and laxative Chinese medicine preparations, such as prostate Shu Tong, Ning Ju Tai capsule, compound Shi Wei tablets, Qing Lin granules, retention of urine capsule, etc. 3, anti-spasmodic drugs to improve symptoms, such as The drugs to relieve spasm and improve symptoms, such as tamsulosin extended-release capsule, terazosin hydrochloride tablets. 4, local hot compresses sitz bath, physical therapy, to reduce local inflammation. 5, prostate massage or sperm discharge once a week, to facilitate the drainage of inflammatory substances, taking drugs such as compound Xuanju capsule, Jin Kui Ren Qi Wan to improve sperm quality.