We present some of the basic concepts and procedures which allow to perform ab-initio molecular dynamics calculations. The emphasis is given on writing the basic density functional theory equations and derive them for plane wave norm conserving pseudo-potential applications. The main features of the conjugate gradient minimisation procedure to access the total energy of periodic systems are presented and a brief conclusive introduction to dynamical calculations is given.