You can always try planting garlic you bought from the grocery store, but you'll have a much higher chance of having a successful crop if you buy garlic cloves, or seeds, from a plant nursery that stocks varieties that grow well in your area. Shop online for a wider selection of garlic and choose one to your liking. Some strains are stronger, some are hardy during cold temperatures, and so on.  The garlic stocked in grocery stores is often shipped in from faraway places, so it won't necessary be a strain that works with your climate and soil type. Garlic sold in grocery stores has usually been treated with chemicals to make it last longer on the shelf. It's harder to grow treated garlic than untreated garlic. If you live in a northern area that gets a hard frost, it is recommended that you plant garlic in the fall. Garlic overwinters well, and planting it early will cause the bulbs to be larger and more flavorful than a spring-planted crop. However, if you live in a southern area that doesn't have cold winters, plant your garlic early spring instead.  If you're planting garlic in the fall, plan to plant it 6 - 8 weeks before the ground freezes. If you're planting garlic in the spring, plant it as soon as the ground can be worked in February or March. Choose a spot with full sun and well-draining soil. Work the soil to a depth of 4 inches using a garden rake or hoe. Enrich the soil with compost to add nutrients that will help the garlic grow strong and healthy. If you wish, prepare to grow the garlic in a pot. Choose a pot wide and deep enough to hold the garlic you wish to grow, and fill it with rich potting soil. Divide the bulb into individual cloves, keeping the papery skin intact. Plant the cloves 4 inches apart and about 2 inches deep. Make sure that the flat root side is pointing down and the tapered side is pointing up - otherwise the garlic will grow in the wrong direction. Cover the planted garlic cloves with soil and pat gently.

TL;DR in Vietnamese:
Chọn giống tỏi để trồng. Nên trồng tỏi vào mùa thu hoặc mùa xuân. Chuẩn bị khu đất trồng tỏi. Trồng tép tỏi.