Help me

Can you get pregnant if your boyfriend rubs/humps your genitals with his penis? If so, how likely is it? There was no penetration. He did put the tip to my vaginal opening and pressed a bit but he never penetrated. He made sure there was no precum. He never ejaculated either. I am on birth control and have been for two months. I'm pretty sure I'm okay, but I always worry. And the pills make it worse. Thank you. 
The reason I have posted this is because some things on the internet tell me that this is totally possible and that I probably am and it scares me to death. I've never had a sex Ed class. Never have had to in school. So please be nice. Also Ive never had sex