wait dose it count if...

So my bf and I attempted anal... Because we didn't have a condom at hand, (long story short we didn't have Sex) but when he tried to slide in his penis touched my vagina. So... Can I get pregnant? Should I buy plan B within the next 48 hours? Please give me your opinions