Depo shot

how do you know when the shot is no longer in your system? when your period comes on? or?