A drug that acts primarily by stopping the release of an egg from the ovary.