Help!!

So me and my boyfriend recently started having sex and he says he’s been pulling out but it makes me nervous. What kind of birth control would be the best to prevent pregnancy ?