Drifting Back to Old Habits

I used to starve and have super bad thoughts. I recently talked about it with a friend, thinking that talking about it would make me feel better. It just did the opposite. Now I’m reverting back to old habits and I can’t seem to stop. It’s all flooding back and I have no clue what to do. Any suggestions?