Help Ladies!

Is it possible to get pregnant if your boyfriend came in you a little? Cause me & my bf was in da heat of da moment & he came a little in me while pulling out. If so, when should I take a pregnancy test?