HELP- BIRTH CONTROL

so my depo shot ended the first of august and i got off my period the second of august. today is the ninth and i switched to the pill yesterday. i had unprotected sex today, should i take an emergency contraceptive?