What does a pilot do to the wings when he/she wants to land?

you have to reduce lift: deploy spoilers if you have them.

you have to reduce speed: deploy flaps, to allow for more lift as speed is reduced.

Dont forget the landing gear.