Pharmacology

A young female, Rama with amenorrhea, infeility and galactorrhoea was treated with a drug that successfully restored ovulation and menstruation. Before being given the drug, the woman was carefully questioned about previous mental health problems, which she did not have. She was advised to take the drug orally. The drug used to treat this patient was probably: