See a urologist
Either penis curved downwards (cordee), or deviated can easily be corrected by an experienced recontructive urologist.
An upward curve with a hard thickened area under the skin is probably due to peyronie's disease and likely caused by penile trauma. This is more complicated to treat and warrants a urologic consultation. Any combination of meds., injections, surgery or implant
may be offerred.