Can you get pregnant from swallowing?

My boyfriend and I have been getting a lot closer and I don't want to do something I'll regret...