1. Communicate
Don't make them feel bad for having an eating disorder. They need to know it's a problem for their health and they should seek treatment before it gets worse. Tell them they are not alone and that they have their friends and family as a support system.
2. Offer Help
Give them ideas as to how they can get help. An eating disorder that is just in its early stages can be treated by a specialist in the field of eating disorders (therapy). If it is worse and constantly interfering with there life a treatment facility would be the better option.
3. Follow through
Check up on them constantly to see how they are doing. If they have an eating disorder it is likely they have other mental illnesses like depression and anxiety which is a problem if not treated. Let them again know they are not alone and always check in!
You have to take the time to input the options. Otherwise we can´t assist.
A multitude of factors should be considered. BMI, diet, activity levels, health conditions, etc.