What age is acceptable to spank your child?

Mick • I’m 18 and my best friend is my daughter 😍

My daughter is almost 18 months old and lately she has been so naughty. I tell her no or we don’t do that and she keeps doing it while laughing. Is it too early to spank her or smack her hand?