Does weed effect plan b?

I smoked weed yesterday but I took a plan B abt an hour before. Will that effect it?