Depo shot ?

How long does it take for depo shot to become effective ?