Major dilemma

Rosie
I had sex with my bestfriend *boy
On Friday the 16th of October which was on my highest fertile day.. 
I kind of forgot that I hadn't taken my pill in over a week since? 
When should be the best time to test? 
As I'm due on my period around the 31st? 
Thank you xxxx