Advice on how much iron i should take

My doctor told me I need to take iron and I can just get it OTC anywhere. I have heavy menstrual periods and am anemic with a level of 9 when it should be above 12. Anyone similar or know how much iron I should take to help this ?