Cues, such as boredom, hunger, an activity, a time or an emotion trigger us to do certain actions or routines. When we complete that routine, we get a physical or an emotional reward. Doing this often enough gets us into a habit-forming loop.