@Jasper You have several options, as explained here. I have little experience with KOMA classes, but for standard classes,
fancyhdr
+
geometry
is the easiest way.
Nevertheless, I suggest you read the introduction of the
memoir package, which is perfect to understand the concepts (name of the margins/distances, issues of legibility, etc.).