Medical problems, such as serious heart or lung problems, can increase the risk of any surgery. On the other hand, many serious medical conditions may improve or resolve after successful bariatric surgery.