Testing for babies!?

Brittany
So I ended my period on the 18th and three days later my boyfriend came in me after sex. Can I test for pregnancy 2 weeks after that?