Emergency Pills

Patient: Hi Doc,First of all, i just married few days ago, and both of us decide to have a daughter after two years married, but on 1st im aware thats i accidently overlooked thats my semen already inside my wife vagina after that in the next morning day, i ask my wife to take emergency pill, may i know the main cause n effect after taken the respective pills.. really need ur help.. Thanks doc..