The four commonly used classes of medications for prostatitis include antibiotics, alpha-blockers, nonsteroidal anti-inflammatory drugs (NSAIDs), and herbal preparations. Specific medication should be determined by a doctor based on the type and symptoms; do not purchase and use medications on your own.

1. Antibiotics: such as levofloxacin, mainly used for prostatitis caused by bacterial infection, can help eliminate pathogens.

2. Alpha-receptor blockers: such as tamsulosin, can relax the muscles of the prostate and bladder, relieving symptoms such as difficulty and pain during urination.
3. Nonsteroidal anti-inflammatory drugs (NSAIDs): such as ibuprofen, can help reduce inflammation and pain and improve discomfort.
4. Herbal preparations: such as Prolean tablets. Some plant extracts may help relieve symptoms, but the effect varies from person to person.
If you experience symptoms such as frequent urination or pain, please seek medical attention promptly. During treatment, follow your doctor's instructions regarding medication, maintain a regular sleep schedule, avoid prolonged sitting and spicy foods to promote recovery.