Plan B

Is it okay to take plan B two days before predicted ovulation? I had protected sex but worry there may have been some residue on the outside of the condom.