Depo shot

Destiny
Im 6 weeks post partum and got my depo shot yesterday. My dr said it was ok to have sex so i did last night. How long does it take for the depo to start working?