Will iron pills help my period?

I went to the doctor because I have heavy, irregular periods and thought I had PCOS but i don’t. Everything is normal with me except I am anemic and my doctor prescribed me to take over the counter iron pills which i do now and have been for about a week. Will these iron pills make my period lighter and more regular?