Questiong about bc

Sam
Im on depo shot, and I got it on the 17th, well my period ended on the 14th, how long will it be til I dont need a condom. Or its effective?