You create a ribbed stich by alternating between knit and purl stiches within a row. This results in a pattern of alternating rows. The wider you want your rows to be, the more of each type of stich you will make. A k2,p2 pattern will produce narrower rows than a kn3,p3 pattern. There are instructional videos online.