It is keeping it from taking over the garden that takes work. Given medium rich, moist soil and shade to dappled sunlight, mint will thrive and soon form a lush, thick carpet. Keep it cut back, especially once it begins to bloom, otherwise it will become invasive. Since many of the varieties propagate from underground runners, you may have to just pull out wandering plants. Most mints thrive as house plants as well.