LO hurt his head?

My LO was laying on my husbands chest and suddenly jerked and smacked his head on my husbands face pretty hard and ended up screaming very loud then fell asleep. We are worried it may have hurt him pretty badly and wonder if we shouldn't have let him fall asleep right away?