It is not advisable for a person to treat anemia themselves. Rather, a person should consult a doctor to understand the best course of treatment for the type and severity of anemia they have.
If a person has mild iron-deficiency anemia, a doctor may recommend that the person treat it at home by eating more foods that contain iron and vitamin C.