Help me girls!!

Girls I'm very worried, help me please.This month I decided with my partner to start planning with the shot, apply it on the fourth day of my period (December 2)I was told that in 24 hours the injection is effective and we had unprotected sex today (December 05) Is there a risk of pregnancy? Should I take the morning after pill?