Anemia in pregnancy is diagnosed through a complete blood count test done at early prenatal appointments. Treatment depends on severity, with mild to moderate cases treated through daily prenatal vitamins or iron supplements and severe cases potentially requiring blood transfusions. Prevention focuses on consuming at least 30mg of iron per day through diet or supplements and taking a prenatal vitamin daily, ideally before pregnancy.