No. You should never hit a horse if it throws you off. Striking the horse will only increase the likelihood that it will throw you again, and it can seriously damage the trust and confidence between you and the animal.
If a horse throws you off, stay calm and try to determine what caused the reaction. It could have been startled, in pain, responding to poor riding cues, or reacting to something in its environment. Once you identify the cause, you can work with a qualified trainer to address the issue and prevent future incidents.
Building a positive relationship based on patience and clear communication is far more effective than punishment when working with horses.