Not sure why your doctor prescribed this as opposed to other appetite suppressants. I think to rationally prescribe metformin for weight loss, you should have another risk factor. These would include:
1- risk for diabetes: does anyone in your family have (type II) diabetes? do you have a high blood sugar after you eat? do you have a high level of insulin in your blood?
2- risk for polycytsic ovary syndrome: do you or anyone in your family have PCOS?
If so, metformin may help prevent these conditions. If not, again, why take a diabetes med over and against other appetite suppressants? The choice, of course, is yours- metformin may help you lose weight, but as a drug it may cause other problems. Lactic acidosis is the worst, so if you have any liver or kidney problems, there is some risk.
Good luck, and don't forget- no matter what you do, diet and exercise will help you keep the weight off in the long run.