Pregnant on your period?

Has anyone gotten pregnant while they were on their period? My husband got off in me twice on 2 different days.. should I wait two weeks and take a test or would that be too soon?