Help!

I'm not TTC but I thought you ladies might have a better idea than just general pregnancy. 
I'm at a 15% high risk for pregnancy and my boyfriend just came in me on accident. 
How long until I can test for pregnancy? 
I'm not on any birth control right now because I was planning to switch to the deposit shot.....