I don't think u need to panic.
if he watching television before goin to sleep or is excited or agitated before he goes to sleep he may have these problems.
can give rise to these symptoms as well.
Try to calm him down before he goes to sleep.Go for the checkup.
Hope he gets over this soon