Thanks for writing your query.
After reading your post, it seems that you had suffered from soft tissue injury
Headache is common after head injury
and takes few days to weeks for complete recovery.
Proper rest will speed up the process of healing.
If the pain is disturbing, you can take pain killer like Ibuprofen one tablet twice a day after meals along with an antacid like Omeprazole
You should get immediate medical attention if symptoms like vomitting, disorientation
, loss of conscioussness, nasal or ear bleeding, disbalance in walking,etc. develop.
I hope this is helpful to you.