Danazol acts as an androgen and exerts an anti-estrogenic effect. Medroxyprogesterone acts as a progestational agent and acts on the endometrium. The ultimate choice of a drug would depend on the patients symptoms and many other features.