Question: what to do with a two year old who hits?
Answer: The thing to do is to gently, calmly move his arm away from the person he's hitting, so he can't hit again. You can let him try. Just keep his arm from landing on you or anyone else. Mild words like, “No, that doesn't feel good,” or, “I can't let you do that,” might be helpful.