If you're noticing pain, as opposed to just increased sensitivity, every time an erection happens then it may be time to check in with a healthcare provider to see if they can help you identify what's causing it. Do you have access to that kind of care?