Get Global Events

How to create global events and how we can attach a method to them in a module?