Please help!!!!!

So the other day my boyfriend and I had unprotected sex and he pulled out and didn't cum then the next day we had unprotected sex again and he pulled out and came. I'm on the pill and I've taken it pretty consistently maybe two or three hours late once or twice this month. Both times that we had unprotected sex were about a week before my period so I wasn't ovulating. Do you think I'm pregnant? I'm supposed to get my period in about 5 days! I'm really nervous this time! Is my birth control working and trustworthy?