It could be simple headache due to sudden head impulse or a more serious issue like sub arachnoid
hemorrhage or a counter coup injury
If your headache is not relenting or increasing by time, or you seem to develop new symptoms like nausea
or vomtings, you should rush to ER to get yourself evaluated for the above conditions.
All the best.