birth control

i started the pill 9 days ago and had unprotected sex two times today. is that safe to do now ?