Mum guilt 😭😭😭😭😭

I’m having the worst mum guilt ever. I’m laying in bed, can’t sleep and crying because I feel like an awful mother. My 2 yr old daughter was acting all out, not listening, throwing things everywhere, screaming and all what not... so I stretched out her arm and smacked her palm slightly... she cried the roof out and looked at me with so much disgust and shock. I feel so horrible! So so so horrible