Generally most babies are quite durable when it comes to getting a bump on the head but watch for any behavior changes or lack of alertness. Consult your doctor.
Drowsiness and lethargy are the main things. Do not let him sleep for at least an hour afterwards. Also watch for irritability and inconsolable crying.