Thanks for writing your query.
It seems that your son has suffered from soft tissuue injury
of the scalp
It takes few days to weeks for the symptoms like swelling and pain to disappear.
You can get him examined by a Neuurophysician if the symptoms persists.
You can give him pain killer after discussing with his doctor.
I hope this is helpful to you.