A good habit is one that benefits the individual in a positive way and aligns with one's moral and ethical beliefs. The good habit can be instantly beneficial, or it can offer long-term benefits.
Both good and bad habits are formed the same way. As one repeats an action, the brain creates a pathway that makes it easier to process the repeated behavior, as opposed to a new behavior. The more the action is repeated, the stronger the habit becomes. Typically, a habit is formed within two to four weeks, provided that the activity is performed at least three times a week.