How do you cap an old toilet in a basement?

A building supply or good hardware store should be able to sell you a toilet cap to bolt in place of a toilet with a good gasket to keep out smells and avoid back ups.