Depo shot

I received my first depo shot 6 days ago. I had taken plan b a week previously, so I had some super light bleeding the day I received the shot, and a couple days later. However, I'm wondering when the shot would be considered "effective", meaning when would it be ok for unprotected.