What would I need to do in order to record what my monitor displayed in a program

Kind of like how they do video tutorials?