Hi, Welcome to Healthcaremagic!
As correctly stated by Dr Rakhi, raised prolactin
levels may be cause of your ED. Prolactin levels may raised due to a number of causes & I think a repeat testing is needed. Please get yourself fully evaluated for a prolactinoma also. Consult an endocrinologist
. Good luck.