Birth control pills contain mam-made forms of two hormones called Estrogen and Progestin. Both hormones prevent a woman's ovary from releasing an egg during her menstrual cycle. They do this by changing the levels of the natural hormones the body makes.
Two objects that are similarly charged will repel, while two objects with opposite charges will attract. Moreover, a neutral object will attract either charges.