To create a beer trap, bury a shallow container, such as a yogurt cup, so that the rim is level with the soil. Fill the container with beer and leave it overnight. In the morning, you’ll find that the snails and slugs have been lured in and eliminated. Replace the beer every few days to maintain its effectiveness.