pulled out and put it back in but im on the pill

i met with a guy and he pulled out when he came and “wiped” it on me and then went back in. he did this twice. i am on the birth control pill but should i take plan b just in case?