Preventing grass from growing in unwanted areas involves using barriers such as edging or mulch, or using herbicides to control the growth of grass.