You need to check on him, but be careful. If he is injured you could injure him further. Be as gentle as possible. You need to make sure he is ok. This can be very bad if he hit the glass really hard. He could have seriously injured himself. I have heard of frogs breaking their necks this way.