Dominant or not
Some hereditary forms are dominant, meaning only one parent needs to be affected to pass the condition to offspring.
Other forms are recessive, meaning both parents have to contribute defective genetic material. Some genetic defects require a little "help" from factors such as maternal Folic Acid
deficiency or "teratogenic" drugs. Consult obstetrician about medication usage, including otc ones.