It is highly recommended that you not gain weight while preparing for bariatric surgery. The best course of action is to avoid late-night suppers and over eating.