Morning after pill

How exactly does the morning after pill work, if you're in the first half of your cycle?

I took one because the condom broke and we only realized it after he ejaculated. I was on day 6 of my cycle and I usually have 33-35 day cycles. Does it have different effects if I take it so early in the cycle?