You had unprotected intercourse at day 9.of your cycle.
And you took I PILL at day 10.
For a 30 day cycle, the fertile period ranges from Day 12 to Day 16.
The I PILL has been taken within the required time period and hence should protect you, though a failure rate of 5 percent is documented in literature. Now either have abstinence or use a barrier method till you get your periods.
But a more reliable mode of contraception should be followed.
The urine
pregnancy test may come positive within a day of missed period.