Painful erections lately; is something wrong?

? Peyronie's disease. This is associated with hardness under the skin on the upper surface of the penis plus some upward curvature. Suggest you see a urologist.