Welcome to HCM
We understand your concerns
I went through your details. I suggest you not to worry much. You are just 23 and you started worrying about erection and sex. Your masturbation
habit never gives any side effects in your sexual life. That is sure. Erection may not be always perfect while masturbation because of the effort involved in it and lack of passion. But once you have sex with a female, passion and love overwhelms any other thoughts and gives you perfect erection.
But if you worry too much, be apprehensive, take medicines unnecessarily, you may suffer more. Because all these erectile dysfunction
is in your thinking. You never had any problem. Even the medicines you are taking are not prescribed by any physician, I know. Please do not do that. Concentrate in your studies and career. They are important, not sexual life. Sexual life is always secondary.
Please post a direct question to me in this website. Make sure that you include every minute details possible. I shall prescribe some sexology related psychotherapy
techniques which should help you cure your condition further.
Hope this answers your query. Available for further clarifications.