how I stopped gaining weight when I STOPPED counting calories

how I stopped gaining weight when I STOPPED counting calories