Endemic. Basically, it is an outbreak of disease that attacks many people at a certain time which consequently has spread through one or several communities. A very current example for this is the A(H1N1) virus.
Pandemic. This is when the endemic disease has spread the world. Like the A(H1N1) incidence that we are having now. It has spread the whole world, thence, it can now be considered, pandemic.