This medication is used after childbirth to help stop bleeding from the uterus. Methylergonovine belongs to a class of drugs known as ergot alkaloids. It works by increasing the rate and strength of contractions and the stiffness of the uterus muscles.