Changing windows and glass?

I have to take out a old window with weights and ropes and put in a anderson casement,how is this done? Thain there is other windows that have bronen glass in them how do you change and put in new glass?