Bariatric surgery is done when you have serious health problems or when diet and and exercise haven’t worked.