Depo shot

So I recently just got the depo shot and I was wondering how long it took for it to actually start working?