Maintenance after weight loss

I’m curious what the maintenance protocol looks like (in terms of food) for after you reach your goal weight. I understand intermittent fasting is used for losing weight but is that continued after the weight is lost? or would you go back to eating 3 meals per day?