vitamin D and iron deficient

Renee
I went to Dr yesterday and I found out I'm extremely vitamin D deficient I have to be on prescription vitamin D and In also iron deficient. Can I stop your cycle? I was having more periods and then they just stopped in February. Does anyone know if there's a connection?