Yes to everything HG says.
Also be forewarned that when you start to increase your intake you will probably experience extreme hunger and immediately gain a lot of water weight as your body starts to heal itself from starvation. Don't freak out, this is part of the healing process and totally necessary and it will subside as long as you continue eating enough.
(I found Gwyneth Olwyn's site, YourEatopia, extremely helpful in navigating the recovery process. I won't post the link because I'm not sure what the guidelines are on here for linking to other sites, but you can find it easily by googling. She uses the Maudsley guidelines for recovery, which are 3000 calories a day minimum for those under 30.)
I'm sorry but that's horrible advice! I've had anorexia since I was 14 (and disordered eating since I was 7), I'm now 20. I've seen many friends manage their anorexia and one die from it.
Keeping a food diary with everything you eat is a bad idea because it reinforces the obsessive relationship with food, you'll be counting calories and trying to eat smaller portions so it looks better on your log, and feeling horrible about how "much" you've had. No no no. You need to talk to a therapist who knows YOU and who can help YOU make a plan that fits YOU. Hopefully a therapist with specialty in EDs. But eating nutritionally dense foods that you're still safe with is best. Start everyday off with a dense smoothie with whole milk, fruits, spinach, full fat yogurt, peanut butter, protein powder, ice, etc. If that's too scary start with semi skimmed milk and yogurt and build your way up. The bigger the smoothie, the better, but not so big you'll purge or overexercise or starve to compensate. Incorporate new foods you were once scared to have, and try to up the calories. Now, don't count the calories please, just know that calories are life and you're adding life.
That's for the nutrition. But even more important is the therapy. The mind. If you have anorexia it's because of past trauma or self loathing and depression and you need to deal with that before even thinking of recovery. Recovery is impossible without tackling why you had the ED in the first place, what you were trying to use it to.cope with. Therapy. Very important.
If you have anorexia, you need to keep a diary and note what you are eating. If you feel you cannot do this honestly, ask a friend to do this for you. This will tell you what you eat and remind you to eat. You can set up alarms in your phone, laptop etc to eat. You could ask your friend to check on you. Apart from this, you need to undergo constant counseling. You may also need medications so, please consult a doctor specializing in eating disorders.
The medical advice given should not be considered a substitute for medical care provided by a doctor who can examine you. The advice may not be completely correct for you as the doctor cannot examine you and does not know your complete medical history. Hence this reply to your post should only be considered as a guiding line and you must consult your doctor at the earliest for your medical problem.