Help!!!

When I put my toddler in time out she kicks me and smacks my face then refuses to stay where I put her in time out at.. not sure where she has picked it up from seeing as how I don’t spank her. What can I do to make her stop kicking and slapping?