Thanks for the query.
As you had intercourse immediately after your periods there is very less possibility for pregnancy
The bleeding you had could be side effect of the emergency pill.
Emergency pill can alter the menstrual cycle depending of the period of the cycle when you took the pill.
As you took the pill in the first half of the cycle it might have preponed your periods.
For more details:http://srsree.blogspot.in/2012/08/emergency-contraceptive-pill-short-term.html