You need warps (aka: "dock lines"), up to six of them, depending on length-of-stay and conditions. You need fenders, the number, size and placement being dependent on the shape of your boat, the configuration of the wall, length-of-stay, and sea and weather conditions. And you may need or want to use a fender board.
What you really
need to do, I think, is go out and get yourself copies of the following two books: Sailing Fundimentals
, by Gary Jobson, and The Complete Sailor
, by David Seidman. Those will answer this question of yours, along with many more I suspect you don't currently know you have