Yes, changing any medicine can be a cause of ED. Before changing or replacing any medication you should consult to doctor because they know better. Because knowing every medicine’s positive as well as negative side is important for you and your body’s health.