Thanks for your query. You have been indulged in masturbation
since last five years and now facing problem of getting erection.first of all you have to come out of myth that this is due to excessive masturbation.I would like to state that masturbation has no ill effect of whatever nature on any system or organ of the body.The problem of weak erection will be settled of its on over a period of time and there is no medicine to cure it.It is mind related and you have to allay your anxiety
.As regards the bent of your erect penis this can be confirmed only on clinical examination so please consult some Urologist
who can diagnose and confirm it. You may need to undergo a surgery to correct it.