Pharmacology

A 27-year-old female came for treatment of infertility to OPD; bromocriptine was prescribed. What could be the possible reason?