Help!

Q:What happens when you have unprotected sex the night before you have to take the depo shot will it affect anything?😰