Toddler hitting

I now realize why they call it the terrible twos 😩 I have a two year old little boy who cannot stop hitting. It’s driving me insane. I’m 35 weeks pregnant, and while I don’t think he would hit his little brother, I’d rather not risk it. Has anybody else dealt with this issue and resolved it?!