Thanks for your query.It seems that you are taking Testosterone without the advice of Doctor Have you ever tested your blood for estimation of Serum Testosterone level
.This may harm you if you are taking it from last three years.As regards problem of erectile dysfunction
since you were getting good erection when you were having sex with your girlfriend there is no reason why you should face any problem with your wife.Do not take any medication on your assumption and consult some urologist
or qualified sexologist
for your problems.