Has anyone gotten altitude sickness and if so what happened?

Pretty sure I had some mild-to-moderate altitude sickness when I went skiing in the Rockies a while back. Felt pretty awful. Bad headache. No energy. I laid down for a while, drank some water and eventually started feeling better. It was kinda flu-like.