How do I use Server Side Includes?

To use Server Side Includes in a file it will need to use the .shtml extension.