It doesn’t sound fancy but just eating regular balanced meals throughout the day is the main way out. Reverse diet to find a good high maintenance calorie and be consistent.
You don’t have to rely on reheating potatoes all the time either. Add in more sugar sources like from fruits, dried and juiced.