vitamin d deficiency


hey guys so been trying for a child for almost a year and half not had any miscarriage or chemical pregnancies...Just been to doctors for last blood test and started fertility tests... the blood test came back with a vitamin D deficiency and they have given me a prescription for tablets.. has anyone else had this and did it prevent them from conceiving? thanks in advance