i would like to know what is the role of the lining of the uterus wall in pregnancy. also is there a contraceptive pill which can be taken before sexual intercourse or if there is a pill which can be taken in the morning after having unprotected sex from in the night