if you have sex.
You can get pregnant.
Pulling out doesn't work all the time, most often fails more than works.
If you don't want a kid, don't be a child, and use the proper birth control
If he is older he should also be responsible and use a condom and be careful.
You have all possibilities to prevent a child and if you're not ready for one, don't make the careless mistake chick.