Iron pills & prenatals

I had stoped taking my prenatals because I just felt nauseous when taking them, and recently my doctor told me I'm anemic and prescribed me some iron pills to take everyday also told me to keep taking my prenatals. Which I am but I'm just wondering if that isn't too much iron for my baby?