Am i Safe?

I had sex with my bf last tuesday and thursday and we never used a condom. We used withdrawal method. I am reading that this kind of method is there possible to get pregnant So yesterday i did take a pill and my question am i still safe not to get pregnant?