Stopping the pill

Is there a chance I will lose weight after stopping the pill (need to stop the pill for medical reasons - and will continue on a new contraceptive in a few months)