Dear R.K.Mishra ji
Your problem has got no link with mastrubation and this habit of yours has not played havock with you. Sex is basically linked to mental pleasure which stimulates hormones and causes rush of blood leading to proper erection. Man never gets old on this ffront and there is no debility that mars your married life. The formation of inferiority complex
and lack of liking towards partners; may be due to this deficiency in thoughts, never allows you to feel the sacred pleasure. Along with medicine you need proper councelling to cure it. It is curable.