Sharp pain under shaft

one day I masturbated, and everything was fine. the next day I felt a sharp pain between my balls shaft. IDK if it’s the vein under the shaft or what. Couldn’t get an erection properly ever since. I can only get an erection if I apply pressure from masturbation. I can’t get hard from just thinking now. It’s been over a year.