Some people with anorexia lose weight mainly by not eating enough food. They may also try to lose weight by exercising a lot.