How to get a flat stomach?

Kristina
I always had trouble gaining weight growing up then 3 years after I got my gallbladder taken out I started gaining weight and now have a stomach that sticks out. I don't like it. How can I get it to being flat again? I'm 5'7'' and 137 lbs. BMI is normal whereas before I started gaining weight it was underweight forever.