Weed seeds need light to germinate
To shade the soil around your plants, keep it covered with organic mulch, black plastic or paper mulch, layers of wet newspaper, or a geotextile weed mat.
Build a shield
Use edging materials like bricks or underground barriers of metal or plastic around garden beds. This will keep lawn grass and perennial weeds from creeping into flower beds and vegetable plots.