Has anyone Plan b fail?

I had sex on the last day of my period he came inside me but I took the pill the next morning I was super hung over and I threw up the whole day . Is it possible I can still become pregnant??