Weight loss!?


I've recently visited the doctor and she says my BMI is too high that I'm at risk (I'm fat) & that I should take getting a bypass into consideration.

Just a few months ago my bf and I discussed working out in order to have a healthy and normal pregnancy in a yr or so.

Well I've been eating well & working out and instead of loosing weight I'm gaining it.

I need advice, would a weight loss surgery be the way to go, if I'm trying to get pregnant in a yr or so.