It probably means you are under a lot of stress.
Was this by accident or on purpose. I heard a psychiatrist state that he had a theory that autistic children bang their heads against walls to increase their serotonin levels. Now if you have ADD, you might do it to increase dopamine levels. If this theory is write, potentialy hurting your head might make you more focused, calm and astute, but I would NOT recommend doing it.
its probably your under stress haven’t been sleeping muchand no i am a sixth grader it doesn’t make you smarter