Whenever i bang my legs like on a table it really hurts me.

Is this normal ?