According to the information you reported (being beaten and had multiple kicks in the head), it seems likely that you might have suffered head injuries. The extension of the injury cannot be determined without additional examination by a neurologist.
The head injuries include skull bone fractures, damage of the brain tissue, or damage to the organs located on or in the head.
The bone fractures are easily detected with X-rays. Depending on the how serious they are, treatment including even surgery might be needed.
Damage done to the brain tissue might be as plain as falling unconsciousness for only a short period of time, but can be so serious that it can lead to bleeding inside of the brain tissue, which might be fatal. Usually most of these conditions are expressed within the first 48-72 hours after the injury. However, long lasting consequences might be experienced in the distant future.
The consequences might range from temporary headaches to post-traumatic epilepsy. Which condition might turn out, depends on how much the brain tissue was damaged. This can be confirmed only by a neurologist whom you are advised to visit.