Weight gain bby contraceptives

Patient: HelloI took emergency contraceptive I pill for around 10 times in the month of march and after that in 2 weeks i gained 10 kgs of weight and I stopped getting my periods,i exercised to put my weight dowm but no use,then I got certain tests done and my doctor has put me on a six month course for femilon and 3 months for ebexid.Will these medicines helpCan this weight gain be a cause of hormonal imbalanceIf yes then in how much time will I be finePlease help meThank you.