Planting plants to deter cats, using coffee grounds or citrus peels, and installing chicken wire or netting around plants can deter cats from pooping in your garden.