basil is an easy plant to grow, its only major requirements being full sun and consistent water.
The more you harvest, the more you get. Keep basil plants cut back so you have a continual supply of fresh leaves throughout the growing season
Prune regularly for the best flavor. About every four weeks, prune basil back to just above the bottom two sets of leaves. If the plant is allowed to flower, it will lose flavor.
Immediately after planting, I prune my basils by cutting them back to just above the bottom two sets of leaves. This early pruning may seem drastic, but it actually stimulates growth. Depending on the weather and how quickly the plants are growing, I prune the plants back again to just above the bottom two sets of leaves about every four weeks, or sooner if they show any sign of flowering.
https://www.finegardening.com/article/basil-basics