Surgery isn't an easy way out or to get off the 'fat roller-coaster' for good, it's only beneficial when someone is totally immobile from their weight gain and unable to burn off the calories needed to shift their weight sufficiently to save their life.
All that is needed is to change habits, and to do this, you can implement every two weeks a new one into your daily routine, whether it be as simple as replacing sugar in your tea or coffee to natural leaf Stevia (liquid form is best) or sweet fizzy drinks with diet versions. Everything takes a couple of weeks to adjust to, so best to do small fixable and permanent changes than try to change a lifetime of habit over night. You will just set yourself up for failure.
You must feed your mind, that means you need to monitor after you eat certain foods how they make you feel, mood, physically (are you shaking after a while) do you feel jittery, craving etc... then, you can replace the culprit with some alternative until you find food that satisfies your body type.