Thanks for your query.
Your symptoms are suggestive of abrasions of the delicate inner lining of anus (called Fissure-in-ano), with secondary bacterial/yeast infection, due to anal sex.
Application (inside the anus) of a intra-rectal ointment/jelly containing xylocaine
(for inflammation) and an antibiotic (for bacterial infection) THRICE daily; a short course of an oral antibiotic, such as, Doxycycline; Laxative till rectal healing takes place, and Sitz' bath (sitting in a small tub containing warm water) twice daily, will cure the condition.
Do not practice anal sex till completely cured.
Consult your doctor and apprise him of my opinion. I am certain that he will agree with me, order required tests, and- based on the reports- will prescribe suitable/modified treatment as advised.
If you find my response helpful and informative, do not forget an “excellent” (5-star rating) to my answer, to ENCOURAGE ALL doctors- engaged in social service- to render sound advice to the FREE queries.
Dr. Rakesh Karanwal