Morning after pill

So I took the morning after pill yesterday. However before taking it I was experiencing some stomach pains, those that you get when you are on your period and there was also spots of blood down there. However by the end of the day the bleeding and the stomach pains were gone. Is this normal, does the morning after stop periods because I think my period was starting when I took it.