On the back of every knit is a purl and vice versa. So if you end a row with a knit stitch and turn your work around, you’re now looking at a purl - the reverse of the knit that you just did. If you’re looking at a purl stitch, you will purl it and if you’re looking at a knit stitch you will knit it. Does that make sense?