When should i take a test

I am sexually active and with my current partner have been only doing the pullout method

The other day he finished and then re entered, i am not sure if that can cause pregnancy

I am currently five days away from my next period and have never taken a test or even know when to take one