Medical use. Together with other iron compounds, ferrous sulfate is used to fortify foods and to treat and prevent iron deficiency anemia. Constipation is a frequent and uncomfortable side effect associated with the administration of oral iron supplements. Stool softeners often are prescribed to prevent constipation.