I need help.... please

had sex on the day my periods ended(January 15) and i took a pill on the same date. Then after a week i bled again which lasted for three days. But this month i am late by 12 days. Why is this happening?