When should I test?

I had unpotexted sex, my boyfriend was suppose to pull out. It was our first time together and he about cummed and pulled out when he cummed a little. Well shortly after that we started again and he couldn’t pull out in time, so he cummed inside of me. This happened on the 26 or the 27th of October. I’m freaking out due to I don’t wanna be pregnant. When would be the appropriate date to test? How long will it take to determine it. I’m suppose to start my period either the 5th or 8th of November! I didn’t take any plan b either.