B12 deficiency is generally treated with B12 supplements, B12 injections or by eating more B12-rich foods such as meat, fish, eggs and dairy products. Treatment depends on the cause and severity of the deficiency. Regular follow-up tests can help ensure your B12 levels return to a healthy range.