Tomato plants contain a chemical called solanine that can make dogs sick, but ripe tomatoes are usually fine for them in moderation.
The leaves, stems, and unripe tomatoes have the most solanine, so it's important to keep your dog away from these parts of the plant.
Symptoms of tomato poisoning include vomiting, diarrhea, lethargy, and dilated pupils, and if your dog shows any of these signs, you should take them to the vet.
To keep your dog safe, make sure they can't get into your tomato plants by using fencing or other barriers.