Pull out method

Okay so me and my boyfriend were TALKIG about sex and he said he didn't own any condoms but he said we could use the pull out method. I said it's not effective and he said it is if you do it right. He said if you pull out before your near cumming then you can't get pregnant is this effective?? Is there any chance it would work still or can you tell when your going to cum and pull out