I need to know

I'm under 18 and I had sex with my boyfriend. He pulled out but I was on top and all that. He says he pulled out on time but I'm scared he didn't pull out and didn't get all of it out in time. And I'm really worried I'm pregnant even though it happened two days ago.  What should I do?