I don’t know what to do...

I have a close friend and he wants to stop eating to loose weight. I’ve wanted to starve myself in the past. Every time he’s always helped me through it and stopped me but now that he wants to, I don’t know how to help him.