Pears do not need much pruning in the first early years apart from normal leader tipping to give better growth and in the direction you want to go. They are usually two or three years old when bought and will be already partly trained.
We had pear trees trained to a West facing wall in a sheltered garden that is the North East of England although the experts say they are no good North of the Trent, they fruited well for us but where already old when I remember them.
Try the RHS on line for pruning tips.
Frank.