The pain in my penis is not allowing me to have sex

Patient: My penis has started hurt just receny when I have a sexThe knob starts to throb and I can’t continue then after I pull out a small amount of discharge comes out, but it’s only when I do have sex that my penis hurts, what is wrong with me?

Doctor: