Pregnancy test?

So.. My boyfriend came in me **he finished and everything. It wasn't just a little bit** on the 30th of June. How long should I wait to take a pregnancy test if I took a plan B that same night? Is it a pretty good percentage that the pill worked?