How do you create a custom module?
From Joomla! Documentation
To make a custom module, go to Extensions, then Module Manager and click on the New icon. You'll see a list of available modules. Click on Custom HTML and begin editing the module.