There are different degrees of curvature, and sometimes there is pain associated with an errection with a penis at drastic different angles.
It would be best for you to see an experienced urologist. You might consider taking a digital picture of your erection
so you can show your doctor what you are concerned about. Just don't show the picture to anybody else other than your doctor.