The very first line in each of your LaTeX programs should do this. It should follow the form \documentclass{...}
. What you put within the curly braces is very important. Some document classes give you extra commands to use, others use a different format, and all have specific parameters you can input (described in the parameters section).