How do they adjust the pressure within an airplane before it takes off?

Because at high altitude the pressure is much lesser so logically they will decrease the pressure within the plane before it takes off but why doesn't the plane get crashed by the surface pressure?
9 answers 9