C.M.
Hi S.,
I once got this advice for my son when he was 18 months old. It worked for me.
When he hits you - don't react. He hits because he gets a reaction. You can simply walk away. Sometimes ignoring the behavior is effective in eliminating it. (Not all cases) My son hit me and looked at me for my response, when I gave him nothing the game became boring for him. He doesn't hit anymore and stopped that within a 2 days of implementing this.
Hope this helps!
Sincerely,
Marta