Plan b & bc

I took plan b about 2 weeks ago, and just got the depo shot today. Is that ok?