Like painting, prior to hanging, surfaces receiving wallpaper require proper preparation.
Often lining paper is required to be hung horizontally before the patterned paper can be hung.
If the walls are sound they may still need to be 'sized', traditionally this was done with a thinned down wallpaper paste, modern alternatives are available. The purpose is to control the suction of the wall.