the penis doesn't cause the pregnancy. it is just the delivery system for sperm-containing semen. typically an erection is required to deposit the semen deep in the vagina where it can start their journey "north" but a man with erectile dsyfunction may still be able to accomplish brief penetration and ejaculation sufficient for a pregnancy.
can a woman become pregnant from a man who has an erectile dysfunction?