Weight loss

Has anyone been losing weight throughout their pregnancy? I have loss 10 pounds since I have gotten pregnant my doc says she wants to me gain 2 pounds by my next visit. Has anyone been losing weight and what have you done to gain it back ?