Depo Question

Depo shot due on April 15th, can I still have unprotected sex? Like when is it going to wear off?