Depo today

Mara • PRINCESSS😋 ❣ 23
I'm getting he depo shot today and I'm on my period this should be my last day on it when I get the shot am I safe immediately?