You get mountain sickness due to low amounts of oxygen up in higher elevations; therefore, you feel unwell when climbing higher and higher. A suggestion is to climb slowly at first, allowing until your body fully adjust to the mountain terrain. Also, sleep in the lowest area you can find in your surroundings- this will allow you to feel less sick.