HI...not sure what u got hit with or the force of it, but u should be seen by a dr to be sure it didn't cause an injury. A MRI of the head and or cervical spine may be ordered.
Good luck
"selma"
Neurologist to begin with. They order MRIs and probably prescribe some medication. head ache after head injury is common.