How to create a new module?

Hello everyone, I want create new module ERP next, How to start and write model and controller, client process.

I want calendar add/move ERP next