Am I safe

Lindsey

I am on the pill and take it almost perfect. Last night my bf and I had sex without a condom. He did withdraw but said it was a close one. Should I take plan b or am I protected?