The most important STD to rule out immediately is Lymphogranuloma Venereum
Why?
A patient with,Severe rectal pain,Rectal discharge
History of receptive unprotected anal intercourse has proctitis, and LGV is a classic cause of severe, painful proctocolitis, especially in men who have sex with men.
Differential diagnosis of STD-related proctitis
1. LGV (Chlamydia trachomatis L1–L3) – severe pain, discharge, bleeding, tenesmus.
2. Gonorrhea – purulent rectal discharge.
3. Herpes Simplex Infection – severe pain, ulcers.
4. Syphilis – anal chancre or secondary lesions.
5. Human Immunodeficiency Virus Infection – always test because of coinfection risk.