Even if you are wearing a helmet you can still get injured. Helmets aren't made of physics defying materials to where they will completely absorb the sudden shock to your cranium.
It sucks you got hurt so early in the season but at least you are ok. I saw a kid smash his head on a rail, get up, then completely collapse. He wasn't wearing a helmet... Just gotta be careful.