Pain in Penis & Butt hole after the ejection

Patient: I am having pain in my penis & butt hole after the day of masturbation. The Pain remains for the hour or two or sometimes disturb my night. Not getting what to do?

Doctor: