When to test!

I had sex about 2 weeks ago. When should I start to test? My period starts in 8 days