unprotected sex (but didn't finish in me)

If I get my 1st period after birth does this mean I'm not pregnant again? I know the pull out method isn't a method byt that's what we did